Regular Expressions 101

Sponsors

Library entries

0
pcre2

Drealth

just a normal text to the drealth emojis
Submitted by NobreHD - 21 hours ago
0
pcre2

find between 2 strings

find between 2 strings
Submitted by anonymous - 3 days ago
0
pcre2

Jerem

To match specific name based on season code
Submitted by anonymous - 4 days ago
0
pcre2

.csv data conversion for a test case

from "['a']" to "[""a""]"
Submitted by anonymous - 6 days ago
0
pcre2

track OM cash out

cash out tracker
Submitted by anonymous - 7 days ago
0
pcre2

Php

Php
Submitted by Nickname - 7 days ago
0
pcre2

VAQ234S

1
Submitted by anonymous - 10 days ago

Ip address

Vote

1

Regular Expression
javascript

/
^0*([1-9]?\d|1\d\d|2[0-4]\d|25[0-5])\.0*([1-9]?\d|1\d\d|2[0-4]\d|25[0-5])\.0*([1-9]?\d|1\d\d|2[0-4]\d|25[0-5])\.0*(([1-9]?\d|1\d\d|2[0-4]\d|25[0-5])|(([1-9]?\d|1\d\d|2[0-4]\d|25[0-5])(\/([1-9]?\d|1\d\d|2[0-4]\d|25[0-5]))))$
/
gm

Description

Loading markdown...
Submitted by nehatiwari - 6 years ago