Regex
Regex Tester
Test regular expressions and get a local plain-English explanation.
Matches (6)
Index: 0
Match: hello
Groups: ["hello"]
Named: {"word":"hello"}
Index: 6
Match: dev
Groups: ["dev"]
Named: {"word":"dev"}
Index: 10
Match: tools
Groups: ["tools"]
Named: {"word":"tools"}
Index: 16
Match: hello
Groups: ["hello"]
Named: {"word":"hello"}
Index: 22
Match: abcdef
Groups: ["abcdef"]
Named: {"word":"abcdef"}
Index: 29
Match: lol
Groups: ["lol"]
Named: {"word":"lol"}
Explanation
- Matches word characters with \w.
- Uses quantifiers to repeat the preceding token or group.
- Contains named capture groups where supported by the browser.
- Contains advanced group syntax; this explainer may not fully describe its behavior.