Regular Expressions 101

Sponsors

Library entries

0
pcre2

optional

optional
Submitted by anonymous - 6 days ago
0
pcre2

optional character

match strings with some optional characters
Submitted by anonymous - 6 days ago
0
pcre2

Split The Phone Numbers

Split The Phone Numbers
Submitted by anonymous - 2 days ago
0
pcre2

Ipv4 validation

regex for ip validation
Submitted by Amper - 2 days ago
0
pcre2

嵌入条件

嵌入条件
Submitted by anonymous - a day ago
0
pcre2

Remove Hatena blog keyword

Remove Hatena blog keyword
Submitted by anonymous - 5 hours ago
0
pcre2

simulate to event

simulate to event
Submitted by anonymous - 3 hours ago
0
pcre2

simulate to event

simulate to event
Submitted by anonymous - 3 hours ago
0
pcre2

simulate to event

simulate to event
Submitted by anonymous - 3 hours ago
0
java

时间

时间
Submitted by 旧信 - 2 hours ago
0
pcre2

find abc in string

first test
Submitted by anonymous - 2 hours ago

Url regex

Vote

-1

Regular Expression
pcre2

/
(?<=href=\"|src\=\"|content\=\"|style\=\"|\")(?P<PROTOCOLE>https:\/\/|http:\/\/|\/)(?P<WWW>www\.|)(?P<GLOBAL>(?<SOUSDOMAINE1>[\w\-\/]+)(?P<EXTENSION1>\.com|\.fr|\.org|\.io|\.tech|\.net|\.xyz|\.biz|\.school)|(?<SOUSDOMAINE2>[\w\-\/]+)\.(?P<NOM>[\w\-]+)(?P<EXTENSION2>\.com|\.fr|\.org|\.io|\.tech|\.net|\.xyz|\.biz|\.school)|[\w\-\/]+)(?P<SUFFIXE>[\w\-\?\-\/\.\=\&\;\$\:\+\%\@]+|)
/
gm

Description

Loading markdown...
Submitted by anonymous - a year ago