Free Online Regex Tester – Test, Debug & Replace Regular Expressions Live
Regex Tester
Test regular expressions live, see matches and capture groups, and run find & replace • 100% free • No upload to server
Regular expression
/ /
Test text
0 characters
Highlighted matches
Match details
Replace with (use $1, $2 for groups, $& for the whole match)
Replaced result
Quick regex reference
. any character\d digit • \D non-digit\w word char • \W non-word\s space • \S non-space^ start • $ end\b word boundary* 0 or more • + 1 or more? optional • {2,4} 2 to 4 times[abc] any of a, b, c[^abc] none of a, b, c(x) capture group(?:x) non-capturing groupa|b a or b(?=x) lookahead
Comments
Post a Comment