Regular Expressions 101

Hugging Face NLP Tokenization

Open Workspace
  • PCRE2 (PHP)
  • Match
1

Regular Expression

/
[\w]+|[.,!?;]|['\w]
/
gm

Description

Submitted by Anonymous