Regular Expressions 101

Sponsors

Library entries

0
pcre2

Host Regex

Get any hostname
Submitted by anonymous - 2 days ago
0
pcre2

Phone (rus)

Russian phone number
Submitted by anonymous - 4 days ago
0
pcre2

TESTO denro tag

r
Submitted by anonymous - 4 days ago
0
pcre2

Unique graphql pagination update

Unique graphql pagination update
Submitted by Amos - 4 days ago
0
pcre2

스마트스토어 필터링

ㅌㅌ
Submitted by anonymous - 4 days ago
0
pcre2

S/O 73225392

Replaces one style of markdown image with another
Submitted by anonymous - 4 days ago
0
pcre2

asdasd

dasdasd
Submitted by anonymous - 5 days ago
0
pcre2

cdn匹配图片

保留
Submitted by anonymous - 5 days ago
1
java

IP Address

(^([0-9]{2,3}.)([0-9]{2,3}.)([0-9]{2,3}.)([0-9]{2,3})$)
Submitted by anonymous - 6 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