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
6
18 upvotes, 12 downvotes (60% like it) (You must be signed in to vote)
pcre
Username:Password
Regex For finding username:password
Submitted by
Ghost
-
8 years ago
6
11 upvotes, 5 downvotes (69% like it) (You must be signed in to vote)
pcre
HTML tag stripper
This regex will identify all html start and end tags.
Submitted by
anonymous
-
8 years ago
6
9 upvotes, 3 downvotes (75% like it) (You must be signed in to vote)
pcre
Validate Birth Date (d/m/Y)
From 1970 to 2015 Replace: (\d{4})$ for (19[7-9]\d|200-1)$
Submitted by
Valdeir Santana
-
8 years ago
6
7 upvotes, 1 downvotes (88% like it) (You must be signed in to vote)
pcre
IPv4 Validator
no description available
Submitted by
anonymous
-
3 years ago
5
7 upvotes, 2 downvotes (78% like it) (You must be signed in to vote)
pcre
ipv6
Match an ipv6 address
Submitted by
Frusty
-
7 years ago
5
5 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
get specific value from html tag
no description available
Submitted by
A.ROA
-
7 years ago
5
9 upvotes, 4 downvotes (69% like it) (You must be signed in to vote)
pcre
Repair unquoted HTML attribute values
Usually MSWord HTML exports
Submitted by
Ka.
-
10 years ago
5
9 upvotes, 4 downvotes (69% like it) (You must be signed in to vote)
pcre
All href in a tag
Find all href in a tag
Submitted by
Miron Yanovskiy
-
10 years ago
5
5 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Find All Python imports
no description available
Submitted by
anonymous
-
9 years ago
5
10 upvotes, 5 downvotes (67% like it) (You must be signed in to vote)
pcre
Two or more whitespace
Reeplace all two or more whitespace in string with a single chararter(ej. one whitespace)
Submitted by
Lanxe
-
8 years ago
5
5 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
relative to absolute
relative to absolute
Submitted by
xp_prg
-
8 years ago
5
11 upvotes, 6 downvotes (65% like it) (You must be signed in to vote)
pcre
URL
URL Description from Dr. M. G. @ Brookes
Submitted by
anonymous
-
8 years ago
5
7 upvotes, 2 downvotes (78% like it) (You must be signed in to vote)
pcre
parsing CSV file
It correctly handles simple values, empty values, and quoted values with commas inside.
Submitted by
Viktor Lova aka nsinreal
-
8 years ago
5
9 upvotes, 4 downvotes (69% like it) (You must be signed in to vote)
pcre
FIlename sanitization regular expression
Useful for filename sanitization. Matches invalid filename characters. Can be used in preg_replace() calls.
Submitted by
FractalizeR@yandex.ru
-
8 years ago
5
8 upvotes, 3 downvotes (73% like it) (You must be signed in to vote)
pcre
Numeric values greater than zero with decimal
Pattern that only accept numeric value and greater than zero with up to decimal places ( you can change the decimal places just replace {1,2} depend on how many decimal places you like
Submitted by
Eugene To
-
8 years ago
5
5 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Quartz Cron Validation
http://stackoverflow.com/questions/2362985/verifying-a-cron-expression-is-valid-in-java
Submitted by
anonymous
-
8 years ago
5
7 upvotes, 2 downvotes (78% like it) (You must be signed in to vote)
pcre
Latitude,Longitude fetcher
Useful to work with GoogleMap API.
Submitted by
anonymous
-
8 years ago
5
13 upvotes, 8 downvotes (62% like it) (You must be signed in to vote)
pcre
ipv6 Validation
Handle all condition for ipv6 example: 1) FE80::8329 2) FE80::FFFF:8329 3) FE80::B3FF:FFFF:8329 4) FE80::0202:B3FF:FFFF:8329...
Submitted by
Lim Yew Teck, Nicholas
-
8 years ago
5
5 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Codice fiscale italiano
Oltre a supportare le omocodie controlla in modo restrittivo il carattere relativo al mese di nascita
Submitted by
Aldo Medri
-
8 years ago
5
5 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
look for any $_POST['name']
if you are as lazy as me and want to replace every "=$_POST['name'];" using Dreamweaver or any development tool that allows using regular expressions to search in current file/document.
Submitted by
Kevinator
-
7 years ago
1
2
3
4
5
6
7
...
571
IPv4
Vote
16
29 upvotes, 13 downvotes (69% like it) (You must be signed in to vote)
Regular Expression
pcre
/
^
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
\d
|
[
0
-
1
]
?
\d
{1,2}
)
(?:
\.
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
\d
|
[
0
-
1
]
?
\d
{1,2}
)
){3}
$
/
Open regex in editor
Description
Loading markdown...
Submitted by
robwa
- 7 years ago