Regular Expressions 101

Save & Share

  • Save Regex
    ctrl+s
  • Update Regex
    ctrl+⇧+s

Flavor

  • PCRE2 (PHP >=7.3)
  • PCRE (PHP <7.3)
  • ECMAScript (JavaScript)
  • Python
  • Golang
  • Java 8

Function

  • Match
  • Substitution
  • List
  • Unit Tests
/
[\p{Script_Extentions=Greek}]
/
ugm
All the errors detected are listed below, from left to right, as they appear in the pattern.
\p This token has no special meaning and has thus been rendered erroneous
{ This token must be escaped when the u flag is enabled unless they form a valid quantifier
} This token must be escaped when the u flag is enabled unless they form a valid quantifier
Your regular expression does not match the subject string.

Regular Expression
No Match

/
/
ugm

Test String