Regex Tester
Test a regular expression and see every match and group live.
Tool inputs stay in your browser · optional AI search sends your query
Loading tool…
How to use it (step by step)
- 1Type a pattern in the “Pattern” box (for example \d+ means “one or more numbers”).
- 2Paste sample text below it.
- 3Every match is highlighted, and groups are listed so you can check your pattern works.
Words to know
- Regex
- A search pattern. For example \d+ finds every number in a text.
More in Developer
Cron Expression & Schedule GeneratorCreate standard 5-field cron schedules with English translation.HEX to RGB, HSL & CMYK Color ConverterConvert hex color codes into RGB, HSL, and CMYK color spaces.SVG Code Minifier & OptimizerStrip comments, doctype, and extra whitespace from raw SVG markup.JWT (JSON Web Token) Claims InspectorDecode JWT headers and payloads with expiration timestamp conversion.User-Agent String Parser & Device DetectorInspect browser engine, operating system and device family from User-Agent.IPv4 Subnet & CIDR Netmask CalculatorCalculate network address, broadcast, and usable host count from CIDR.