Regular Expressions 101

Sponsors

Library entries

4
javascript

Full e-mail validator

no description available
Submitted by anonymous - 7 years ago
4
javascript

Currency Formater Accept , & .

no description available
Submitted by anonymous - 7 years ago
4
javascript

Mobile phone russia

Submitted by Johhny - 7 years ago
4
javascript

vowel words

([!-\~]aeiou)
Submitted by Ipsita Mohanty - 6 years ago
4
javascript

extract domain with port

no description available
Submitted by yooresh - 6 years ago
4
javascript

UK Postcode

no description available
Submitted by msyed - 6 years ago
3
javascript

mm/dd/yyyy Date

no description available
Submitted by jay johnson - 8 years ago
3
javascript

po box

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

javascript template replacement

no description available
Submitted by akamaozu - 8 years ago

youtube url match

Vote

4

Regular Expression
javascript

/
(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|playlist\?|watch\?v=|watch\?.+(?:&|&);v=))([a-zA-Z0-9\-_]{11})?(?:(?:\?|&|&)index=((?:\d){1,3}))?(?:(?:\?|&|&)?list=([a-zA-Z\-_0-9]{34}))?(?:\S+)?
/
g

Description

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