Regular Expressions 101

Sponsors

Library entries

12
javascript

US Currency Format

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

PersianDate

no description available
Submitted by Nasehi - 7 years ago
5
javascript

password 1upper 1lower 1number 1specialcharater

fjk@1Qaa$
Submitted by Anuswadh - 7 years ago
2
javascript

password 1upper 1lower 1number 1specialcharater

fjk@1Qaa$
Submitted by Anuswadh - 7 years ago
0
javascript

Website

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

Strip Commet

Strip comments with /* ... */ or // ...
Submitted by Willy - 7 years ago
1
javascript

File extention

Extract file extention from URL
Submitted by anonymous - 7 years ago
1
javascript

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

Match URL segment

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

Parsing a host from a URL

no description available
Submitted by Alex LaFroscia - 7 years ago
2
javascript

Delimite a number with 3-digital block

no description available
Submitted by Willy - 7 years ago
1
javascript

email validation regex

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

fffs

dfsfd
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