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
/
[a-zA-Z0-9._%+-']+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$
/
gm
All the errors detected are listed below, from left to right, as they appear in the pattern.
- Character range is out of order
Your regular expression does not match the subject string.

Regular Expression
No Match

/
/
gm

Test String