Regular Expressions 101

Sponsors

Library entries

0
pcre2

股票代码

aa
Submitted by vv - 7 days ago
0
java

LinkedIn Profile Url

LinkedIn Profile Url
Submitted by Morons - 7 days ago
0
pcre2

ipv4 match

ipv4 match
Submitted by anonymous - 5 days ago
0
java

lat cyr letters

only lat and cyr letters
Submitted by anonymous - 5 days ago
0
pcre2

scss class matching

scss class matching
Submitted by lucas - 5 days ago
0
pcre2

Note Body HTML

Match all valid HTML tags
Submitted by anonymous - 3 days ago
0
pcre2

Barcode Regex

Barcode Regex
Submitted by anonymous - 3 days 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