Regex Tester
Test regular expressions in real-time.
Web Utility
Loading Tool...
How to use Regex Tester
01
Enter your regex pattern and desired flags.
02
Paste the test text into the input area.
03
View the highlighted matches below.
Frequently Asked Questions
How do I use flags?
Enter flags like 'g' (global) or 'i' (ignore case) in the flags input to change how the regex behaves.
Why isn't it matching?
Ensure your pattern is valid. Errors are displayed in red to help you fix your syntax.
Is it real-time?
Yes, matches update instantly as you type your regex or your test string.