Regular Expressions 101

Sponsors

Library entries

0
pcre2

Strip datetime -> date

Strip datetime -> date
Submitted by anonymous - 4 minutes ago
0
pcre2

Sports Release Regex attempt #1

Yes. Its a thing.
Submitted by anonymous - 7 minutes ago
0
python

Match files' extention

match files' extention
Submitted by anonymous - 9 hours ago
0
pcre

Kafka topic name regex

Kafka topic name regex
Submitted by anonymous - 11 hours ago
0
python

去除首尾空格

去除首尾空格
Submitted by anonymous - 14 hours ago
0
python

`git` URL

Match git URL components (including partial URLs).
Submitted by anonymous - a day ago
0
pcre2

matches 4 or 6 or 8 digit which might be otp

test
Submitted by test - a day ago
1
javascript

Regex for url

Regex for url
Submitted by anonymous - 2 days ago

Get bad iframe (with white-list)

Vote

3

Regular Expression
pcre

/
(?:<iframe\s((?!src)[^=]*="[^"]*"\s){0,3}src="(?:https|http):\/\/(?!www.youtube.com\/|youtube.com\/|player.vimeo.com\/)[^"]*"[^>]*>.*?<\/iframe>)
/
gmis

Description

Loading markdown...
Submitted by Resager - 7 years ago