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
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
string substitution in bash behaving differently from PCRE(PHP<7.3>
question about bash not returning expected results, the same result as this saved regex returns here
Submitted by
anonymous
-
15 hours ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
strip host port
removes port number from URL
Submitted by
pc
-
2 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Proxy Matcher
Validate 1-223.0-255.0-255.0-255:1-65535
Submitted by
dev.tntd2k2
-
5 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
latlonlatlon
gg
Submitted by
anonymous
-
5 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
ENEL T5 Mono
T
Submitted by
anonymous
-
17 days ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
all instagram regex
(?:https?:\/\/)?(?:www.)?instagram.com\/?([a-zA-Z0-9\.\\-]+)?\/([p]+)?([reel]+)?([tv]+)?([stories]+)?\/([a-zA-Z0-9\-\\.]+)\/?([0-9]+)?
Submitted by
threedot
-
19 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
domain name with subdomains
should match any domain with one or more subdomains
Submitted by
Igor Tiulkanov
-
23 days ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Example 1.1: Pet Name
Example used in slide 39
Submitted by
anonymous
-
a month ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
i++ in bash
asdf
Submitted by
anonymous
-
a month ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
SAP_ECTR_ID
Gets the base ID of the ECTR ID when using copy and paste.
Submitted by
Peter
-
a month ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Phone number Malaysia RegEx
A regular expression of Malaysian phone number I made to be used on a project using flutter.
Submitted by
anonymous
-
2 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Reverse list of ASN.1 OIDs/Short Names/Long Names for X.509 certificates under OpenSSL
OIDs are just numbers in the format 1.2.3.4.5.6.7.8.9... Short names are alphanumeric, contiguous descriptions (no spaces, hyphens allowed) Long names can be basically everything (sometimes even UTF-8!) Sometimes, organisations providing the list of 'their' OIDs might reverse the order, for listing...
Submitted by
Gwyneth Llewelyn
-
2 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
exp1
asdf
Submitted by
anonymous
-
2 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Find GraphQL queries with missing id
It detects the following ` product { brand` and ignores ` product {...
Submitted by
anonymous
-
2 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Search/Replace Pressure sensor calibration
Changing from MPa to Bar
Submitted by
anonymous
-
2 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Replace letters in email address
Replace letters in email address but left the first and last letter before and after @
Submitted by
Kaibo
-
2 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Remove all html from string
Remove all tags and special character such as
Submitted by
enrico mosca
-
2 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Closes properly self-closing tags in HTML
In an HTML will replace all auto-closed tags (/>) with a proper tag closing. It works even if the tag has a closing sign (>) inside an attribute.
Submitted by
nabab
-
3 months ago
-2
0 upvotes, 2 downvotes (0% like it) (You must be signed in to vote)
pcre
PHP Serialization String Validator
PHP serialize / unserialize __sleep __wakeup __serialize __unserialize
Submitted by
Abdullah Pazarbasi
-
3 months ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Get anything between parentheses
Use to get any character, digit or space between parentheses
Submitted by
Vini Pereira
-
3 months ago
1
2
3
4
...
464
CSS RGB validation
Vote
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
Regular Expression
javascript
/
^
rgba
?
\(
(?:
(?:
(?:
[
0
-
9
]
{1,3}
){2}
[
0
-
9
]
{1,3}
|
(?:
[
0
-
9
]
{1,3}
%
){2}
[
0
-
9
]
{1,3}
%
)
(?:
\/
(?:
[
0
-
9
]
{1,3}
%
|
1
|
0
|
0
?
\.
[
0
-
9
]
+
)
)?
|
(?:
(?:
[
0
-
9
]
{1,3}
,
){2}
[
0
-
9
]
{1,3}
|
(?:
[
0
-
9
]
{1,3}
%,
){2}
[
0
-
9
]
{1,3}
%
)
(?:
,
(?:
[
0
-
9
]
{1,3}
%
|
1
|
0
|
0
?
\.
[
0
-
9
]
+
)
)?
)
\)
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Martin
- 4 months ago