Regular Expressions 101

Sponsors

Library entries

2
pcre

date formatting mm/dd/yyyy format

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

URL

Matches the URL from the text to 95 percentage
Submitted by Harinath - 7 years ago
2
pcre

Simple @user replacement

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

Replace REM by blank

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

youtube link + id + <a>

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

better orf finder

don't use my older one
Submitted by tnrich - 7 years ago
2
pcre

Grab all hyperlinks

no description available
Submitted by Josh Bourke - 7 years ago
2
pcre

Valmaks_rename_big_strings

no description available
Submitted by witamin - 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