DEVELOPER · AmpCub developer helper
Regex tester
Enter a pattern and sample text to see matches and groups instantly.
Try a pattern with flags and inspect matches. Honest limits apply.
Local · no upload · ReDoS risk on your tabPattern & input
Allowed: d g i m s u v y. Use g to list every match.
Matches
Limits & ReDoS
- Pattern ≤ 2,000 chars; input ≤ 100,000 chars; at most 200 matches listed.
- Uses the engine RegExp — no separate sandbox. Pathological patterns can freeze this tab (ReDoS).
- Local only — pattern and text are not uploaded.
Frequently asked questions
Is the syntax the same as Python or PHP?
It is JavaScript RegExp. Most syntax overlaps, but named groups ((?P<name>) in Python), lookbehind support and flags differ.