regexmatch.dev
Explore
Open main menu
Save & Share
Facebook
Twitter
Tumblr
E-Mail
Pinterest
LinkedIn
Reddit
URL with matching categories
Published on Tue Mar 01 2022
Finds the protocol, subdomain, ((domain, extension)/ipaddress), port, filepath (split in path and filename), the route and the query string.
Regex
Test String
Additional matching regexes for
URL with matching categories
URL with matching categories
Finds the protocol, subdomain, ((domain, extension)/ipaddress), port, filepath (split in path and filename), the route and the query string.
Simple email splitter
Split the email and get the user and domain.
extract subdomain(if available) or domain from URL
This regex should extract the subdomain, if any, or the domain, if no subdomain is used, from an arbitrary URL
DNS and lenght
Ideal for filter Domain with or without subdomain, and length less than 256.
domain for Google Data Studio (re2 dialect)
Matches subdomain, domain and top level in a field that contains a urls. https://www.whatever.you.want ---> whatever.you.want
full url dissection
any given url inside a text will be recognized and split into different groups: - url (full url) - scheme - hostname (subdomain + domain + tld) - port - path - query (GET-parameters) while the only group required for a match is the hostname, therefore `example.com` would allready be a match.
Category and subitems
Categories with items name, type and size
IRC protocol global parsing
1. prefix (IRC protocol prefix parsing) 2. command 3. parameters (IRC protocol arguments parsing)
SIP Address Validator
Validates SIP(Session Initiation Protocol) Addresses
URL parser
gets the <protocol>://<host>:<port>/<link> from am url