Regex Matcher
Pricing
$1.00 / 1,000 result items
Go to Apify Store
Regex Matcher
Provide a regular expression pattern and a text string to extract all matches. The tool returns each match with its position and length, useful for testing regexes or extracting data from user‑supplied strings.
Provide a regular expression pattern and a text string to extract all matches. The tool returns each match with its position and length, useful for testing regexes or extracting data from user‑supplied strings.
Example input
{"pattern": "\\d+","text": "Order 123 and 456 items"}
Each result item contains: match, start, end.