Was it useful? A quick star rating helps others — and you can leave a comment too.
Rate it:★★★★★
+ Add a comment (optional)
📘 About the Regex Tester
Type a regular expression and some test text, and every match is highlighted as you type. The table lists each match, its position and its capture groups, and the replace box shows the text after a replacement.
It uses the JavaScript regex engine, which is very close to the one in PHP, Python and Java for everyday patterns.
💡 How to use the Regex Tester
Type your pattern (without slashes) and flags such as g, i or m.
Paste the text to test.
Read the matches, or type a replacement using $1, $2 for groups.
❓ Frequently asked questions
What do the flags mean?
g finds all matches, i ignores case, m makes ^ and $ match each line, s lets . match line breaks, u enables full Unicode.