Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,000 community submitted regex patterns...
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
Comments in XML document
PCRE (PHP <7.3)
Match comments in a XML document.
Submitted by
Jared Rummler
-
11 years ago
1
match hyphen between quotes
PCRE (PHP <7.3)
no description available
Submitted by
cetanu
-
11 years ago
14
us postal/zip
ECMAScript (JavaScript)
no description available
Submitted by
jay johnson
-
11 years ago
2
SRT (SubRip) Parser
PCRE (PHP <7.3)
Matches id, timecode and text for multiple subtitles. Make sure the source ends with a blank line to capture the last subtitle.
Submitted by
Fergo
-
11 years ago
1
erferf
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
rfrf
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
5
Accept url without www
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
1
Matching an Email
ECMAScript (JavaScript)
no description available
Submitted by
appsunited
-
11 years ago
-2
Russian mobile number normilizer (dumb)
PCRE (PHP <7.3)
no description available
Submitted by
fullpipe
-
11 years ago
1
Match US Currency Amount
PCRE (PHP <7.3)
Group 1 has dollar amount with or without commas, Group 4 has optional cents.
Submitted by
anonymous
-
11 years ago
2
Get dynamic parameters from an URL
PCRE (PHP <7.3)
Gets the parameters (how many you want) from a url and organize into groups
Submitted by
Caio Oliveira
-
11 years ago
7
Split quotes and single words
ECMAScript (JavaScript)
Find " and ' quoted strings and "orphaned"/single words in a string
Submitted by
LoveIsGrief
-
11 years ago
1
Replace second (or further) html statement in a whole code
ECMAScript (JavaScript)
This regex replace the second tag content which has the prefix ":". If you want to replace the third, just increase the statement {1} to {2}, and so go on.
Submitted by
Caio Oliveira
-
11 years ago
1
regular expression to replace except text from html tags
ECMAScript (JavaScript)
expression to look for words in innerText & not in html tags as id or class or style name
Submitted by
umarfarukh
-
11 years ago
1
tags, tags in quotes
PCRE (PHP <7.3)
#day tralalala #"day" tralalala #'beautiful_day'
Submitted by
voodoo free.dev.ua@gmail.
-
11 years ago
483
regex101.com permalink id grabber
PCRE (PHP <7.3)
Grabs the ID for the regex101.com permalink code. If a revision number is provided, grab that as well.
Submitted by
chris mccoy
-
11 years ago
(Last modified 7 months ago)
0
Grab text in double square brackets (excluding triple)
PCRE (PHP <7.3)
no description available
Submitted by
Petah
-
11 years ago
1
Check SQL Insert Into
PCRE (PHP <7.3)
no description available
Submitted by
MelRight
-
11 years ago
6
Password
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
(Last modified a year ago)
1
...
894
895
896
897
898
...
900
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
^
-----
(?:
BEGIN
|
END
)
(?<label>
(?:
(?:
TRUSTED
|
X509
)?
(?<t1>
CERTIFICATE
)
)
|
(?:
(?:
NEW
)?
CERTIFICATE
(?<t2>
REQUEST
)
)
|
(?:
X509
(?<t3>
CRL
)
)
)
-----
$
/
gm
Open regex in editor
Description
Match X509 pem file headers
https://github.com/openssl/openssl/blob/master/include/openssl/pem.h
Submitted by
clarkttfu
-
3 years ago
(Last modified 3 years ago)