Free Online Regex Tester & Debugger
Working with regex? This NerdLevelTech tool helps you test and debug your regular expressions instantly. Just enter your pattern, add flags, and paste test text to see:
Regex Pattern & Settings
Current flags: /g
Results
No matches found
Try adjusting your regex pattern or test text to find matches.
Frequently Asked Questions
What is a regex tester?
A regex tester is a tool that allows you to test regular expression patterns against sample text. It shows you which parts of your text match the pattern, helping you debug and refine your regex.
How do I check if my regex works?
Simply paste your regex pattern into the pattern field, set your flags, and enter test text. The tool will highlight matches in real-time and show detailed results including capture groups.
What are regex flags?
Regex flags modify how the pattern matching works. For example, 'g' finds all matches (global), 'i' ignores case, 'm' enables multiline mode, and 's' makes dot match newlines.
Can I share my regex tests?
Yes! Click the "Share Test" button to generate a URL that contains your regex pattern, flags, and test text. Perfect for collaboration or asking for help on forums.
All regex testing happens in your browser. No data is sent to our servers or stored anywhere. Your patterns and test text remain completely private.