Regular Expressions 101

Sponsors

Library entries

16
javascript

http url regex

general purpose HTTP URL regex
Submitted by Miguel Castillo @manchagnu - 7 years ago
30
javascript

Email address (most used)

Email address, most used cases
Submitted by Jago - 7 years ago
33
javascript

IP Address validator

Validates IPv4 IP Address
Submitted by krzysp - 7 years ago
103
javascript

trim

trim string
Submitted by fp - 9 years ago

IP Address validator

Vote

33

Regular Expression
javascript

/
^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
/

Description

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