Regular Expressions 101

Sponsors

Library entries

2
pcre

42 post regex

Hosts regex for 42 school (france)
Submitted by Kerosene2000 - 8 years ago
2
pcre

Repetitions

More than three words repeated in 3.
Submitted by paconaranjo - 8 years ago
2
pcre

HTTP url parser

Parses a URL to the different parts
Submitted by AmitK - 8 years ago
2
pcre

named group sample

no description available
Submitted by anonymous - 8 years ago
2
javascript

haml attribute parsing

no description available
Submitted by OnlineCop - 8 years ago
2
pcre

Match subset

no description available
Submitted by Jason - 8 years ago
2
javascript

filename split 2

no description available
Submitted by Miloš Ratković - 8 years ago
2
javascript

full asshole

no description available
Submitted by alex - 8 years 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