Regex Tester & Explainer
Test your regular expressions against strings in real-time.
//
Results
Found 3 matches
Match found:
[ "Hello" ]
(Index: 0, Input: "Hello World 123")
Match found:
[ "World" ]
(Index: 6, Input: "Hello World 123")
Match found:
[ "123" ]
(Index: 12, Input: "Hello World 123")
Explanation
\wMatches any word character (alphanumeric + underscore).
+Matches the preceding token 1 or more times.