Regular Expressions 101

Sponsors

Library entries

0
pcre

exp1

asdf
Submitted by anonymous - 5 days ago
0
pcre

semantic tags

semantic tags
Submitted by anonymous - a month ago
1
pcre

URL Validator (HTTP and HTTPS)

Validate one URL HTTP and HTTPS
Submitted by Joaquim - 2 months ago
0
pcre

Mysite

Hello
Submitted by anonymous - 2 months ago
0
pcre

MBI Regex

validates against the MBI format published by CDC
Submitted by i410hlr - 2 months ago
0
pcre

Parse arguments

Parse arguments
Submitted by Ofir Yariv - 2 months ago
0
pcre

User-Agent

Parser
Submitted by sn3kdev - 2 months ago

URL Parts Extractor

Vote

1

Regular Expression
javascript

/
^((?:(?:http|ftp|ws)s?|sftp):\/\/?)?([^:/\s.#?]+\.[^:/\s#?]+|localhost)(:\d+)?((?:\/\w+)*\/)?([\w\-.]+[^#?\s]+)?([^#]+)?(#[\w-]*)?$
/
gm

Description

Loading markdown...
Submitted by Elie Grenon (elie-g) - 5 months ago