๐Ÿ”

Regex Tester

Test, validate and debug your regular expressions in real-time.

/

Results

No matches found.

Matches List:

No matches to display.

Highlighted Text

Replace

Regex Quick Reference

Pattern Description
. Matches any single character except newline
\d Matches any digit (0-9)
\D Matches any non-digit
\w Matches any word character (a-z, A-Z, 0-9, _)
\W Matches any non-word character
\s Matches any whitespace character
\S Matches any non-whitespace character
^ Matches start of string
$ Matches end of string
* Matches 0 or more occurrences
+ Matches 1 or more occurrences
? Matches 0 or 1 occurrence
{n} Matches exactly n occurrences
{n,} Matches at least n occurrences
{n,m} Matches between n and m occurrences
[abc] Matches any one of a, b, or c
[^abc] Matches any character except a, b, or c
| Alternation (OR operator)
(...) Capturing group

Features

  • โœจ Real-time regex testing and validation
  • โšก Highlighting of matches in your text
  • ๐Ÿ“‹ Match replacement functionality
  • ๐Ÿ”ง Support for all regex flags (g, i, m, s, u, y)
  • ๐Ÿ’ก Quick reference for common regex patterns
  • ๐ŸŽจ User-friendly interface with detailed results

Related Tools

Text Comparison String Extractor