Regex Tester
Test regular expressions live with matches and replace preview.
0
Matches
0
Capture groups
Without the g flag only the first match is tested. Empty patterns match at every position, which is normal regex behavior.
कैसे उपयोग करें
- सब कुछ आपके ब्राउज़र में स्थानीय रूप से चलता है: कोई डेटा अपलोड नहीं होता, खाते की जरूरत नहीं।
परिचय
Enter a pattern (with optional g, i, m, u flags) and test text to see every match with its position and captured groups, plus a live preview of string.replace().
A reminder for daily use: regex cannot fully parse nested structures like HTML — use a parser for those, regex for the matches it was designed for.
सब कुछ आपके ब्राउज़र में स्थानीय रूप से चलता है: कोई डेटा अपलोड नहीं होता, खाते की जरूरत नहीं।
Embed this tool
Customize and copy an iframe. Linking back helps both sites.