How to use the Regex Tester
- 1
Enter a pattern and flags.
- 2
Paste test text.
- 3
Review matches and groups, and try a replacement.
Flags
g finds all matches, i ignores case, m makes ^ and $ match at line breaks, s lets . match newlines, u enables full Unicode and y makes the match sticky.
Frequently asked questions
Is my data sent to a server?
No. Everything runs in your browser as you type. Nothing is uploaded or logged, so it is safe to paste API responses, tokens and private text.