#

regex

Regular expressions for pattern matching and substitution

ProgrammingCheck if a String Contains a Substring in Bash - Quick Guide

Fast, idiomatic ways to check if a string contains a substring in Bash. Use [[ *substring* ]], case, or =~ for regex. Also covers quoting and portability.

1 answer 6 views
WebPreserve URL Parameters in Chrome Extensions declarativeNetRequest Redirects

Learn how to preserve URL parameters with regexSubstitution in Chrome extensions using declarativeNetRequest API. Fix parameter loss in redirects.

1 answer 1 view
ProgrammingGenerate Regex Patterns from Input-Output Pairs with Code

Generate regex patterns from input-output examples to extract values (e.g., '2457' from 'example/123/2457'). Use online tools, grex, and Python/Java automation.

1 answer 1 view