Regular Expression Toolkit

Use the form below to test regular expressions. Enter a regular expression, some input text, and click the Match button. You can click the result to see where it matched in the input. For a good quick regex reference, see the Mozilla Developer Center.

Options:

 

Regular Expression

Search Text

Result

GroupSpanValue

Character Classes

Quantifiers

Miscellaneous

Grouping constructs