Regular Expressions 101

Sponsors

Library entries

2
pcre

Match 3 Repeating Numbers

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

anyword plus word

no description available
Submitted by 7 HJ - 7 years ago
2
pcre

remove texto entre <>

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

URI without Trailing Slash

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

src of img tag

get contents of src attribute
Submitted by me - 7 years ago
2
javascript

identity

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

update match

no description available
Submitted by ozarzu - 7 years ago
2
pcre

mask the credit card number

no description available
Submitted by vj - 7 years ago
2
javascript

Telefoonnummer

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

flex

no description available
Submitted by anonymous - 7 years ago

Url parser and validator

Vote

2

Regular Expression
javascript

/
^((?:(https?):\/\/)?((?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9][0-9]|[0-9])\.(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9][0-9]|[0-9])\.)(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9][0-9]|[0-9])\.)(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[0-9][0-9]|[0-9]))|(?:(?:(?:\w+\.){1,2}[\w]{2,3})))(?::(\d+))?((?:\/[\w]+)*)(?:\/|(\/[\w]+\.[\w]{3,4})|(\?(?:([\w]+=[\w]+)&)*([\w]+=[\w]+))?|\?(?:(wsdl|wadl))))$
/
gi

Description

Loading markdown...
Submitted by Antonino Sirchia - 7 years ago