Regex Tester

Test a regular expression pattern against input text and see matches.

Commands

devv pipe exec "regex-tester pattern=\"\\d+\" flags=g" "there are 42 apples and 7 oranges"

Examples

# Find all numbers
devv pipe exec "regex-tester pattern=\"\\d+\" flags=g" "order 123 has 5 items"

# Find email addresses
devv pipe exec "regex-tester pattern=\"[\\w.]+@[\\w.]+\" flags=g" "contact josh@example.com or hi@devv.tools"

# Case-insensitive match
devv pipe exec "regex-tester pattern=\"hello\" flags=gi" "Hello HELLO hello"

Pipeline Usage

Pipeline ID Description
regex-tester Test regex against input

Options in pipelines

regex-tester pattern="\\d+" flags=g
regex-tester pattern="[a-z]+" flags=gi

Behavior

Passthrough — the original input is forwarded to the next step. Match results are displayed but don't replace the data flowing through.

Was this page helpful?