Regex Tester & Cheatsheet
Test JavaScript regular expressions with highlighted matches and capture groups.
● Runs locally in your browser. No file or text uploads.
Find words in a sentence
Use \b\w+\b with the g flag to match each word. Capturing groups appear in the result.
When to use it
Test JavaScript regular expressions with highlighted matches and capture groups.
About this tool
Test JavaScript regular expressions with highlighted matches and capture groups. Use it without creating an account. Results are available immediately, and inputs are not saved between visits.
Does this send my input to a server?
Inputs are processed locally. Optional Analytics sends page statistics only after consent; tool inputs and files are excluded.
Related tools
JSON Formatter · Base64 Encoder / Decoder · URL Encoder / Decoder · UUID Generator