Regular Expressions 101

Sponsors

Library entries

2
pcre

multiple sql like expressions

no description available
Submitted by robessog - 6 years ago
2
pcre

Delete Blank Lines

no description available
Submitted by anonymous - 6 years ago
2
pcre

Email combo to username combo

no description available
Submitted by anonymous - 6 years ago
2
pcre

negative lookahead

no description available
Submitted by anonymous - 6 years ago
2
pcre

URL MATCH

URL MATCH
Submitted by activesatan - 6 years ago
2
python

.*(\d+).* Selects last number

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

Palindrome

Captures a palindrome of 9 digits or less
Submitted by anonymous - 6 years ago

email

Vote

3

Regular Expression
javascript

/
^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)i
/

Description

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