Regular Expressions 101

Sponsors

Library entries

0
pcre

get arrays from Json

get arrays from Json
Submitted by fawaz - 12 hours ago
0
pcre2

Match CamelCase

Matches PascalCase or CamelCase
Submitted by anonymous - 20 hours ago
0
pcre2

nr_classe

separação de um código numérico simples
Submitted by anonymous - a day ago
0
python

month with year extraction

ready code
Submitted by anonymous - a day ago
0
pcre2

General regular expressions

General
Submitted by Stavros - a day ago
0
pcre2

Database_Data_Type

DatabaseDataType
Submitted by anonymous - 2 days ago
1
pcre

Italian phone number regex

Italian phone number reg
Submitted by Ali Babayev - 2 days ago
0
pcre2

PCRE2 ipv6

Some cases of ipv6 at string begin
Submitted by anonymous - 2 days ago
0
pcre2

LinkedIn School Username

x
Submitted by anonymous - 2 days ago
0
python

Yandex music track regex

Regex for yandex music track
Submitted by anonymous - 2 days ago
0
pcre2

提取src

提取src
Submitted by anonymous - 3 days ago

GET formated URLs

Vote

1

Regular Expression
pcre

/
(?(DEFINE) (?<WebAddress> (?&Protocol){0,}(?&Host)(?:\:(?&Port)){0,1}(?&Path){0,1})(?=\s|$) (?<Protocol> \w{2,}\:\/\/) (?<Host> (?&NameParts)(?&Suffix)) (?<NameParts> (\w{2,}\.){1,}) (?<Suffix> (\w{2,})) (?<Port> (\d{1,5})) (?<Path> (\/\S{1,})) ) ((?&WebAddress))
/
xmg

Description

Loading markdown...
Submitted by rleonard - 6 years ago