Regular Expressions 101

Sponsors

Library entries

2
pcre

Match <?xml...?>

How to match the first line of a xml document
Submitted by anonymous - 7 years ago
1
pcre

Find only ".config" file names

Will find lines that end with "/*.config"
Submitted by Dee - 7 years ago
-3
pcre

Telephone

Find Telephone
Submitted by Mr.Fail - 7 years ago
1
pcre

Recherche email

Recherche un email
Submitted by G Morelle - 7 years ago
-3
pcre

RegEX for account code starting with 000-

no description available
Submitted by Joe H - 7 years ago
16
pcre

Alphanumeric Regex

no description available
Submitted by Deepan - 7 years ago
0
pcre

purge creo model

no description available
Submitted by anonymous - 7 years ago

IP v4 format validation

Vote

1

Regular Expression
pcre

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

Description

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