Online tool to learn, build, & test Regular Expressions

Tango

Super Moderator
3,543
914
113
2009
1,235
RegExr was created by gskinner.com, and is proudly hosted by Media Temple.



Edit the Expression & Text to see matches. Roll over matches or the expression for details. PCRE & JavaScript flavors of RegEx are supported. Validate your expression with Tests mode.

The side bar includes a Cheatsheet, full Reference, and Help. You can also Save & Share with the Community, and view patterns you create or favorite in My Patterns.

Explore results with the Tools below. Replace & List output custom results. Details lists capture groups. Explain describes your expression in plain English.

  • Supports JavaScript & PHP/PCRE RegEx.
  • Results update in real-time as you type.
  • Roll over a match or expression for details.
  • Validate patterns with suites of Tests.
  • Save & share expressions with others.
  • Use Tools to explore your results.
  • Full RegEx Reference with help & examples.
  • Undo & Redo with ctrl-Z / Y in editors.
  • Search for & rate Community Patterns.
 
1 comment
Top Bottom