SupportENFR

Regex Tester

Text & comparison

Type a JavaScript pattern, flip the flags, paste a text. Matches and groups show up here.

Try
//g

Type a pattern. The slashes around it are only decoration.

Did you know? The name comes from Stephen C. Kleene. He described regular events in the 1951 RAND memorandum “Representation of Events in Nerve Nets and Finite Automata”, later printed in Automata Studies (Princeton, 1956). The algebra of those sets is what a regular expression denotes.

Learn more about JavaScript regular expressions

What is this tool?