Online Regexp Test Text
Test a regular expression against text. See if it matches, and view capture groups. JavaScript regex flavor, client-side.
Match: Yes
Matches
- 123
- 456
Frequently Asked Questions
- What regex flavor?
- JavaScript (ECMAScript) regular expressions. Use standard syntax: character classes [], quantifiers + * ?, groups (), alternation |.
- What are capture groups?
- Parenthesized parts of the pattern (e.g. (\d+)) capture matched substrings. The tool shows each group for the first match or all matches.
- Client-side?
- Yes. Matching runs in your browser; nothing is sent to a server.
Related Text Tools
Word Counter
Count words, characters, sentences, and paragraphs. Perfect for writers and students.
Case Converter
Convert text between uppercase, lowercase, title case, and sentence case instantly.
Morse Code Translator
Translate text to Morse code and Morse code to text. Supports letters, numbers, and punctuation.
Lorem Ipsum Generator
Generate placeholder text for designs and mockups. Choose paragraphs, sentences, or words.
Diff Checker
Compare two texts side by side. Highlight differences between documents, code, or strings.
Character Counter
Count characters with and without spaces. Real-time counts for tweets, meta descriptions, and forms.