Regular Expressions 101

Sponsors

Library entries

1
javascript

replace directive with iife

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

To Be Or Not To Be

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

Simplistic email

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

Bar Number

Length of 5 or 7. if 7, it should start with 20.
Submitted by Chris Roe - 7 years ago
1
javascript

country name

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

#tag all languages

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

URL matching

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

rstp

no description available
Submitted by anonymous - 7 years ago

multiple IPv4 separated by , or ;

Vote

1

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]?)))\s*([,;\s*]|$)+)*
/

Description

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