Regex tester

Write a pattern and see what it matches. Uses your browser's JavaScript regex engine.

Matches

    Some patterns can run for a very long time on certain text and freeze the page. If that happens, reload it. Flags: g global, i ignore case, m multiline, s dot matches newline, u unicode.