Regular
Expressions
101
Please wait while the app is loading...
Please enable JavaScript to use this web application.
Regular
Expressions
101
@regex101
Donate
Sponsor
Contact
Bug Reports & Feedback
Wiki
What's new?
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Regex Library
Regex Library
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Order By
Most Recent
Most Points
Fewest Points
Filter by Flavor
PCRE2
PCRE
ECMAScript
Python
Golang
Java
.NET
Sponsors
All your environment variables, in one place
Library entries
Search library
1
3 upvotes, 2 downvotes (60% like it) (You must be signed in to vote)
pcre
Find exact domain name match
Find exact domain name match in pipe delimeted string
Submitted by
anonymous
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Two Line Element (TLE) validation
no description available
Submitted by
Michael Lodge-Paolini
-
8 years ago
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Parse "ipconfig /all" output and grab all MAC Adresses
Parse "ipconfig /all" output and grab all MAc Adresses.
Submitted by
j0inty
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
weather
no description available
Submitted by
anonymous
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Search "smarty" tags
Example: Home page | {$site_name|to_small}
Submitted by
Marek Ulwański
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
faa
no description available
Submitted by
anonymous
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
massive email
no description available
Submitted by
anonymous
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
Get specific <span> tag
Get an specific html tag and return his content
Submitted by
Ivan Milazzotti
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Get specific <p> tag
Get an specific tag and return his content
Submitted by
Ivan Milazzotti
-
8 years ago
-2
1 upvotes, 3 downvotes (25% like it) (You must be signed in to vote)
pcre
Get HTML DIV content
Get the content of a DIV HTML Tag.
Submitted by
Ivan Milazzotti
-
8 years ago
1
3 upvotes, 2 downvotes (60% like it) (You must be signed in to vote)
pcre
Match numbers with consecutive digits
Match numbers with consecutive digits and of length 3.
Submitted by
OnlineCop
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Israel phone number
Valiate israel phone number
Submitted by
boevik
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
Select Topmost HTML Tags
no description available
Submitted by
Guilherme C. Souza
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Teste
teste
Submitted by
MeuChapeu
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Get id number from url
no description available
Submitted by
Marek Ulwański
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
Match PHP define
Matches PHP define("CONSTANT", "VALUE)
Submitted by
xZero
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Access Log
cisco
Submitted by
anonymous
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
Find li tag with "word"
Find li tag with "word"
Submitted by
Sazar
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Culture File Name Extraction
Extracts the culture name from a javascript file. Works with minified and non minified files.
Submitted by
Lucas Martin
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
Phone numbers
no description available
Submitted by
anonymous
-
8 years ago
1
...
525
526
527
528
529
530
531
...
571
IP v4 format validation
Vote
1
7 upvotes, 6 downvotes (54% like it) (You must be signed in to vote)
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
Open regex in editor
Description
Loading markdown...
Submitted by
NexRezzo
- 8 years ago