Skip to content
Back

Regex Tester

Test and debug regular expressions in real-time

Share this tool

Test and debug regular expressions in real-time

Regular Expression

//g

Test String

Hello world! My email is test@example.com and my website is https://example.com
0 found
Enter a pattern to start matching

Quick Reference

Character Classes

. - Any character \d - Digit [0-9] \w - Word char \s - Whitespace

Quantifiers

* - 0 or more + - 1 or more ? - 0 or 1 {n} - Exactly n

Anchors

^ - Start $ - End \b - Word boundary

Groups

(...) - Capture (?:...) - Non-capture (?=...) - Lookahead