Regular Expressions 101

Save & Share

  • Save Regex
    ctrl+s

Flavor

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

Function

  • Match
  • Substitution
  • List
  • Unit Tests
An explanation of your regex will be automatically generated as you type.
Detailed match information will be displayed here automatically.

Regular Expression
No Match

/
/
gm

Test String

Regex Debugger

Please wait while your expression is being debugged...