HomeURL/URI Matching

URL/URI Matching

Parse protocols, domains, query params, and social links.

40 Tools Available

Standard HTTP/S

Standard web URL validator.

/https?:\/\/[\w\-\.]+(?::\d+)?(?:\/[\w\-._~:/?#[\]@!$&'()*+,;=]*)?/

FTP URL

File Transfer Protocol URL.

/ftp:\/\/[\w\-\.]+(?::\d+)?(?:\/.*)?/

Git URL

Git repository URL.

/git:\/\/[\w\-\.]+(?:\/.*)?\.git/

SSH URL

SSH connection string.

/ssh:\/\/[\w\-\.]+(?::\d+)?/

WebSocket

WS and WSS URLs.

/wss?:\/\/[\w\-\.]+(?::\d+)?/

Magnet Link

Torrent magnet links.

/magnet:\?xt=urn:btih:[a-zA-Z0-9]*/

Mailto Link

Email link URI.

/mailto:[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/

Tel Link

Telephone link URI.

/tel:\+?[0-9.-]+/

SMS Link

SMS link URI.

/sms:\+?[0-9.-]+/

File Path URI

Local file system URI.

/file:\/\/\/?.*/

Localhost URL

Localhost development URL.

/https?:\/\/localhost(:\d+)?/

IP Address URL

URL using IP instead of domain.

/https?:\/\/(?:[0-9]{1,3}\.){3}[0-9]{1,3}/

Port Number URL

Extracts URL with explicit port.

/https?:\/\/[\w\-\.]+:([0-9]{1,5})/

Query String

Matches URL query parameters.

/\?[a-zA-Z0-9_]+=[a-zA-Z0-9_%+-]*/

Hash Fragment

Matches URL hash anchors.

/#[a-zA-Z0-9_\-]+/

Domain Name

Extracts domain only.

/^(?:https?:\/\/)?(?:www\.)?([^\/]+)/

Subdomain

Extracts subdomain only.

/^(?:https?:\/\/)?([a-z0-9\-]+)\.[a-z0-9\-]+\.[a-z]+/

TLD Extractor

Extracts .com, .net, etc.

/\.[a-z]{2,}(?=\/|$)/

YouTube Video

Matches YouTube video IDs.

/(?:youtube\.com\/watch\?v=|youtu\.be\/)([a-zA-Z0-9_\-]{11})/

Twitter Profile

Matches Twitter profiles.

/twitter\.com\/([a-zA-Z0-9_]+)/

Facebook Profile

Matches Facebook profiles.

/facebook\.com\/([a-zA-Z0-9_.]+)/

Instagram Profile

Matches Instagram profiles.

/instagram\.com\/([a-zA-Z0-9_.]+)/

LinkedIn Profile

Matches LinkedIn profiles.

/linkedin\.com\/in\/([a-zA-Z0-9_\-]+)/

GitHub Profile

Matches GitHub profiles.

/github\.com\/([a-zA-Z0-9_\-]+)/

TikTok Profile

Matches TikTok profiles.

/tiktok\.com\/@([a-zA-Z0-9_.]+)/

Discord Invite

Matches Discord invite links.

/discord\.gg\/([a-zA-Z0-9]+)/

Slack Workspace

Matches Slack workspaces.

/([a-z0-9\-]+)\.slack\.com/

Zoom Meeting

Matches Zoom meeting URLs.

/zoom\.us\/j\/(\d+)/

Spotify Track

Matches Spotify track links.

/open\.spotify\.com\/track\/([a-zA-Z0-9]+)/

Twitch Channel

Matches Twitch channels.

/twitch\.tv\/([a-zA-Z0-9_]+)/

Google Drive

Matches Drive file links.

/drive\.google\.com\/file\/d\/([a-zA-Z0-9_\-]+)/

Dropbox Link

Matches Dropbox share links.

/dropbox\.com\/s\/([a-zA-Z0-9]+)/

AWS S3 URL

Matches AWS S3 buckets.

/s3\.amazonaws\.com\/([a-zA-Z0-9_\-]+)/

Protocol Extractor

Extracts http, ftp, etc.

/^([a-z]+):\/\//

Relative URL

Matches root-relative paths.

/^\/[a-zA-Z0-9_\-\/]+/

Image URL

Matches image file URLs.

/https?:\/\/.*\.(?:png|jpg|jpeg|gif|svg|webp)/

Video URL

Matches video file URLs.

/https?:\/\/.*\.(?:mp4|webm|ogg|mov)/

Markdown Link

Parses Markdown link syntax.

/\[([^\]]+)\]\(([^)]+)\)/

Magnet V2

Matches Magnet V2 links.

/magnet:\?xt=urn:btmh:[a-zA-Z0-9]*/

Steam Link

Matches Steam protocol links.

/steam:\/\/[a-zA-Z0-9\/]+/