Sponsored
Ad slot is loading...

Regex Tester

Test regular expressions with live highlighting. Debug patterns, view capture groups, and learn regex syntax.

//
Valid: /[a-zA-Z]+/g

Match Results (5 found)

Hello World 123 test@example.com
Match 1: "Hello" at index 0
Match 2: "World" at index 6
Match 3: "test" at index 16
Match 4: "example" at index 21
Match 5: "com" at index 29

Quick Examples

Regex Reference

Character Classes
. Any char
\d Digit
\w Word char
\s Whitespace
[abc] Set
Quantifiers
* 0 or more
+ 1 or more
? 0 or 1
{n} Exactly n
{n,m} Range
Anchors
^ Start
$ End
\b Boundary
() Group
\ Escape
Sponsored
Ad slot is loading...