Test text
Matches click a match for details
Result after replacing
What it means
Match details
Ask the AI
AI settings
Only your pattern, the description and the first 1,500 characters of the test text are sent to the AI you choose. Testing, highlighting and the explanation above never leave your browser.
Use it in code
Cheat sheet
.any character\d \Ddigit / not digit\w \Wletter, digit, _ / not\s \Sspace / not space\bword edge^ $start / end[abc]a, b or c[^abc]not a, b or c[a-z]a to za|ba or b(…)capture group(?:…)group, no capture(?<n>…)named group*0 or more+1 or more?optional{3}exactly 3{2,5}2 to 5*? +?as few as possible(?=…)followed by(?!…)not followed by(?<=…)preceded by\1same as group 1\. \( \\a literal . ( \