Regex Tester Online — JavaScript Regular Expressions
Test and debug regular expressions with live highlighting, capture groups, and flag support.
hellopushdraft.comsupportpushdraft.comRegex Quick Reference
. any character\d digit (0-9)\w word character\s whitespace^ start of line$ end of line* 0 or more+ 1 or more? 0 or 1{n,m} n to m times[abc] character set(abc) capture groupFree: Indian Salary Tax Cheatsheet 2026-27
New regime slabs, old regime deductions, PT by state — one page, print-ready.
How to Use Regex Tester
-
Enter your regex
Type your regular expression pattern in the regex field.
-
Set flags
Toggle global, case-insensitive, multiline, and other flags as needed.
-
Add test text
Paste the text you want to test against the pattern.
-
View matches
See live highlighted matches with capture group details.
Related Tools
Frequently Asked Questions
What regex flavor does this support?
JavaScript (ECMAScript) regex syntax. This is the same regex engine used in Node.js, browsers, and most modern JavaScript environments.
Is my data sent to a server?
No. The regex is evaluated entirely in your browser using the native JavaScript RegExp API. No data leaves your device.
PushDraft Weekly
Get weekly developer tips and new tools. Free, no spam, unsubscribe anytime.