Online Regex Tester Tool

Regex Tester

Test, debug, and understand your regular expressions in real-time with our powerful tool

Regular Expression

Results

0
Matches Found
0
Groups Captured
0ms
Processing Time
Run a test to see highlighted matches...
Detailed match information will appear here...

Regex Guide & Reference

Basic Patterns

  • . - Any single character
  • \d - Digit (0-9)
  • \w - Word character (a-z, A-Z, 0-9, _)
  • \s - Whitespace (space, tab, newline)
  • [abc] - Any of a, b, or c
  • [^abc] - Not a, b, or c
  • \b - Word boundary
  • \t - Tab character

Quantifiers

  • * - 0 or more
  • + - 1 or more
  • ? - 0 or 1
  • {3} - Exactly 3
  • {3,} - 3 or more
  • {3,5} - Between 3 and 5
  • *? - Lazy quantifier (as few as possible)

Groups & Lookarounds

  • (abc) - Capture group
  • (?:abc) - Non-capturing group
  • a(?=b) - Positive lookahead
  • a(?!b) - Negative lookahead
  • (?<=a)b - Positive lookbehind
  • (? - Negative lookbehind
  • \1 - Backreference to first group

Anchors & Special

  • ^ - Start of string
  • $ - End of string
  • \b - Word boundary
  • \A - Start of string
  • \z - End of string
  • \n - New line
  • \x20 - Hexadecimal character
Feature Details
Price Free
Rendering Client-Side Rendering
Language JavaScript
Paywall No

Open This Tool

Checkout More Text Tools!



About This Tool
How It Works?

Post a Comment

0 Comments