SomeTools

Regex Tester

Test regular expressions with match highlighting, group extraction, and detailed match information.


          
Generate Regex

FAQ

What regex flags are supported?

All standard JavaScript regex flags are supported: g (global), i (case-insensitive), m (multiline), s (dotAll), u (unicode), and y (sticky).

Can I see capture groups?

Yes, the tool shows all capture groups for each match in a table format.

How do I escape special characters?

Use backslashes to escape special regex characters. For example, \. matches a literal dot, and \\ matches a literal backslash.