Muhammed Ahmed Tools

Regex Tester

Try your regular expression on sample text: matches are highlighted and groups are listed. JavaScript syntax; runs in your browser.

This tool runs in your browser: your files and text never leave your device and are not uploaded anywhere.

How to use

  1. Type the regular expression and choose the flags.
  2. Paste the test text.
  3. Review the highlighted matches and the groups.

Frequently asked

Which regex flavor is used?

The JavaScript regex engine of your browser. The g, i, m, s and u flags can be selected.

What do the flags do?

g finds all matches, i ignores letter case, m treats line starts and ends per line, s lets the dot match line breaks as well, and u turns on Unicode mode.

Related tools

All tools