Regular Expressions 101

Community Patterns

0

Postfix

PCRE2 (PHP >=7.3)
Add DR to end of line
Submitted by anonymous - a year ago
0

C/F temp unit

PCRE2 (PHP >=7.3)
me
Submitted by anonymous - a year ago
0

belcorp

PCRE2 (PHP >=7.3)
test
Submitted by anonymous - a year ago

URL Parts Extractor

1

Regular Expression
ECMAScript (JavaScript)

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

Description

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