Integration Lab JSON Tools

Regex Tester

Test a regular expression against your text and see every match and group highlighted, try a replacement, or start from a ready-made pattern for emails, phone numbers, order IDs and more.

g

Test text

Result


        

Matches

Matches and their groups are listed here.

Use it in code


    

How to use the Regex Tester

  1. Type a pattern, or pick one from Patterns, and set the flags.
  2. Paste your text — every match is highlighted and listed with its groups.
  3. Switch to Replace or Split to see the result, then copy the code for JavaScript or Python.

Questions

Which regex flavour is this?
JavaScript's — the same as a JavaScript code step and most browser tools. The Python version converts named groups and flags for you; a few features such as \p{L} need Python's regex package instead of re.
What do the flags mean?
g finds every match instead of the first, i ignores case, m makes ^ and $ match at each line, s lets . match line breaks, u turns on full Unicode, and y matches only where the last match ended.
Why was my pattern stopped?
Some patterns, such as (a+)+ on a long line, can take practically forever to fail. The tester stops after 1.5 seconds so the page stays usable — make the repeated part more specific and try again.