Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
Matching upto 255 number range
Open Workspace
PCRE (Legacy)
Match
Created 2021-05-28 11:53
1
Regular Expression
/
^
(
25
[
0
-
5
]
|
2
[
0
-
4
]
\d
|
1
[
0
-
9
]
{2}
|
[
1
-
9
]
?
[
0
-
9
]
|
000
)
$
/
gm
Description
this is for matching integers from 0 to 255
Submitted by
Anonymous