Regex Tester
Test, debug, and understand your regular expressions in real-time with our powerful tool
Regular Expression
Results
5
Matches Found
0
Groups Captured
1ms
Processing Time
The quick brown fox jumps over the lazy dog. Regular expressions are powerful! Testing words like: apple, banana, cherry, date, and fig.
Match 1 at index 4:
Full match: quick
Match 2 at index 10:
Full match: brown
Match 3 at index 20:
Full match: jumps
Match 4 at index 87:
Full match: words
Match 5 at index 99:
Full match: apple
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 groupa(?=b)
- Positive lookaheada(?!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!
Online Text to Excel Converter Tool
Online Line Numbers Adder Tool
Online Text to ROT47 Converter Tool
Online Duplicates Finder & Remover in List Tool
Online Text Wrap & Line Break Tool
Online Text to Binary Converter Tool
Online Random Text Generators Tool: Words, Sentences, Nouns, Adjectives, Strings & Letters
About This Tool
How It Works?
0 Comments