Text

Regex Line Extractor

Extract matching lines using a JavaScript regex and explicit flags in a time-limited local worker.

Keep this tool in your workbenchReport a problem

Loading Text controls…

What does this tool do?

Extract matching lines using a JavaScript regex and explicit flags in a time-limited local worker. Inputs: Text, Regex pattern, Flags. Outputs: Matching lines, Match count.

How to use it?

Enter text and a JavaScript pattern, then select any flags to apply to each line. Choose “Extract matching lines”, then copy individual result values if needed. Clear removes the inputs and results and restores all option defaults.