Regex Tester

Test regular expressions with live highlighting and plain-English explanations.

//g
Test String6 matches

Pattern Explanation

  • \w Matches any word character (a-z, A-Z, 0-9, _).
  • + Matches 1 or more of the preceding token.
  • [...] Character set: matches any character inside the brackets.

Match Results

Match 1Index: 0
Hello
Match 2Index: 6
World
Match 3Index: 13
This
Match 4Index: 23
Test
Match 5Index: 28
String
Match 6Index: 45
Capitalized

Cheatsheet / Presets