url2regex
Extension Actions
- Live on Store
Turn a list of URLs or paths into a compact regular expression.
Turn a list of URLs or paths into a compact regular expression, right from your
browser toolbar.
Paste one URL or path per line, or import a CSV. Choose whether to extract
paths only, select Generate regex, then Copy pattern to use it in your workflow.
Features:
- Group shared prefixes to reduce repetition.
- Escape literal regex characters, including forward slashes, automatically.
- Import CSV files with automatic header and URL/path column detection.
- Copy generated patterns with one click.
- Follow your light or dark theme.
- Preserve full input strings by default, including queries and fragments.
- Optionally extract paths, dropping origins, queries, and fragments.
- Process everything locally, without an account or server connection.
Regex validation reports are not included in the popup. For CSV import, use
a single URL/path column if automatic detection reports ambiguity. Check
case-sensitivity, matching mode, and length limits in
the tool where you use the generated pattern.
Open source under the MIT license:
https://github.com/mertefeisawesome/url2regex