Free Online Regex Tester
Test regular expressions with real-time matching.
Enter a pattern and test string to see matches
Test regular expressions with real-time matching.
Enter a pattern and test string to see matches
This free online regex tester lets you write and debug JavaScript regular expressions in real time. As you type your pattern and test string, matches are instantly highlighted with full details — including captured groups, match positions, and index offsets.
All processing runs entirely in your browser using the native JavaScript RegExp engine. No data is sent to any server, making this tool ideal for testing patterns against sensitive text. Toggle flags like global, case-insensitive, multiline, dotall, and unicode with a single click.
[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}https?:\/\/[^\s]+\b\d{1,3}(\.\d{1,3}){3}\b\(?\d{3}\)?[-.\s]?\d{3}[-.\s]?\d{4}