Open main menu
Save & Share
Published on Tue Mar 01 2022
Additional matching regexes for
Simple email splitter
Split the email and get the user and domain.
Complete Machine Readable Passport pattern
Regex to identify and split the components of a machine readable passport pattern text
Validate Base64 with new lines (e.g. GPG base64 messages)
This regular expression validates if given string is formatted in Base64, additional it accepts new lines, since payload can have new lines in it.
URL with matching categories
Finds the protocol, subdomain, ((domain, extension)/ipaddress), port, filepath (split in path and filename), the route and the query string.
Split an audio filename into a readable format for playlists (like jPlayer) assuming the audio file is named like the following: Artist - Song Title.mp3 Band Name - Track Title ft. Another Artist.m4a demon.devin - Faithless Angel (to no avail remix).mp3
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.