Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
Order By
Most Recent
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET (C#)
Rust
Sponsors
Community Patterns
Search among 17,080 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
HGVS coding RNA substitution
PCRE2 (PHP >=7.3)
This Regex will match simple RNA substitution following HGVS nomenclature
Submitted by
anonymous
-
a year ago
2022-07-12 18:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find OTP
PCRE2 (PHP >=7.3)
Covers most of the cases of getting otp from email or mobile number
Submitted by
anonymous
-
a year ago
2022-07-13 04:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
url matcher
ECMAScript (JavaScript)
improvement of the regular expression seen in this meme: https://old.reddit.com/r/ProgrammerHumor/comments/vxhbku/a_regex_god/
Submitted by
Mitsunee
-
a year ago
2022-07-13 09:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
HGVS Frameshift protein
PCRE2 (PHP >=7.3)
Protein frameshift hgvs
Submitted by
anonymous
-
a year ago
2022-07-13 17:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
deetct href and src in html files for vs code
PCRE2 (PHP >=7.3)
deetct href= and src= in html files for vs code
Submitted by
anonymous
-
a year ago
2022-07-13 18:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
beginning of new file / very start of the first line
PCRE2 (PHP >=7.3)
beginning of new file / very start of the first line
Submitted by
rasreeee
-
a year ago
2022-07-14 04:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Minecraft Command Getter
ECMAScript (JavaScript)
A "detector" thing
Submitted by
MeowcaTheoRange
-
a year ago
2022-07-14 15:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MB - XE Currency connector
PCRE2 (PHP >=7.3)
Martin Bencher - XE Currency connector
Submitted by
Ghita
-
a year ago
2022-07-14 15:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MSE Qualifier Regex
PCRE2 (PHP >=7.3)
Regular Expression for getting a Qualifier as defined by MapleMBSE
Submitted by
anonymous
-
a year ago
2022-07-15 09:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IP (v4 and v6) check
ECMAScript (JavaScript)
This regexp match an ip address in v6 or v4 form. Included V6 compact form (:: in place of :0000:). Doesn't matches addresses range or mixed format (like y:y:y:y:y:y:x.x.x.x)
Submitted by
Emanuele Benedetti
-
a year ago
2022-07-15 09:53
(Last modified a year ago)
2022-07-15 11:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Between brackets
PCRE2 (PHP >=7.3)
Get all values between brackets
Submitted by
aldo-f
-
a year ago
2022-07-15 12:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Title RegEx
PCRE2 (PHP >=7.3)
Checks named titles like Mr., Mrs, Ms. prefixed to names
Submitted by
anonymous
-
a year ago
2022-07-15 13:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Checker for specific key
PCRE2 (PHP >=7.3)
Checker for specific key
Submitted by
anonymous
-
a year ago
2022-07-15 14:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
test
ECMAScript (JavaScript)
o
Submitted by
k
-
a year ago
2022-07-15 16:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MATCH NO HREF DE HTML
PCRE2 (PHP >=7.3)
Match em href do html
Submitted by
anonymous
-
a year ago
2022-07-15 20:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex PH landline
PCRE2 (PHP >=7.3)
Regex PH landline (sample)
Submitted by
anonymous
-
a year ago
2022-07-16 02:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
THE BEST RegEx for extracting filename without extension and extension from any path
PCRE (PHP <7.3)
THE BEST RegEx for extracting filename without extension and extension from any path
Submitted by
anonymous
-
a year ago
2022-07-16 08:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
test
ECMAScript (JavaScript)
test
Submitted by
anonymous
-
a year ago
2022-07-18 07:36
(Last modified a year ago)
2022-07-18 07:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
infinitivo verbos idênticos
ECMAScript (JavaScript)
infinitivo
Submitted by
anonymous
-
a year ago
2022-07-18 08:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex for Nigerian Phone Number
PCRE2 (PHP >=7.3)
As more and more nigerians get new phone numbers daily, the main telcom companies in Nigerian increase the varieties of numbers to accomodate this greater demand. This regex is needed to accomodate the new varieties of accessible numbers
Submitted by
anonymous
-
a year ago
2022-07-18 19:25
1
...
786
787
788
789
790
791
792
...
854
Change GDevelop game to use a different extension name
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
"value":
"Health::Health::
(?i)
(?=
.
+
shield
)
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Victris Games
-
a year ago
2022-08-22 03:59