Regular Expressions 101

Sponsors

Library entries

0
pcre2

find abc in string

first test
Submitted by anonymous - a month ago
0
pcre2

regex-input-number

regex-input-number
Submitted by me - a month ago
0
pcre2

Partial Date

Partial date
Submitted by anonymous - a month ago
0
pcre2

/Host: (.*?)<br>/gu

1
Submitted by anonymous - a month ago
0
pcre2

asdf

ghjk
Submitted by anonymous - a month ago
0
pcre2

非贪婪

非贪婪
Submitted by anonymous - a month ago
0
pcre2

独占模式

独占模式
Submitted by anonymous - a month ago
0
pcre2

灾难性回溯

灾难性回溯
Submitted by anonymous - a month ago
0
pcre2

Kucoin trading

Used to match kucoin trading links
Submitted by anonymous - a month ago
0
pcre2

Get HTML Balise

.
Submitted by anonymous - a month ago
0
pcre2

google

google api
Submitted by anonymous - a month ago
0
pcre2

Card number

Card number
Submitted by anonymous - a month ago
0
pcre2

Email

Email
Submitted by anonymous - a month 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