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,100 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Replace common tags for content exported from Roam
ECMAScript (JavaScript)
I use a common set of tags for capturing content I might want to consume (e.g., books, podcasts, videos, articles, etc.) in Roam Research.
Submitted by
Keenan Payne
-
a year ago
2022-07-10 21:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get description
PCRE2 (PHP >=7.3)
sss
Submitted by
anonymous
-
a year ago
2022-07-10 21:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
match với a khi và chỉ khi nó không được theo sau bởi b
PCRE2 (PHP >=7.3)
match với a khi và chỉ khi nó không được theo sau bởi b
Submitted by
anonymous
-
a year ago
2022-07-11 02:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
match với a khi và chỉ khi nó được theo sau bởi b
PCRE2 (PHP >=7.3)
match với a khi và chỉ khi nó được theo sau bởi b
Submitted by
anonymous
-
a year ago
2022-07-11 02:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Bot-Studio Comments
Python
Regex For Comments In Bot Studio Via YT Docs
Submitted by
Codaea
-
a year ago
2022-07-11 07:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
RFC 4646
ECMAScript (JavaScript)
Matches RFC 4646 see https://www.rfc-editor.org/rfc/rfc4646.txt
Submitted by
reThink23
-
a year ago
2022-07-11 10:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex named groups
PCRE2 (PHP >=7.3)
Regex to group the elements by name
Submitted by
anonymous
-
a year ago
2022-07-11 10:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Reverse assignments statements c#
PCRE2 (PHP >=7.3)
Reverses any number of assignement statements in c See example Test before use.
Submitted by
Scover
-
a year ago
2022-07-11 13:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Minecraft Username
ECMAScript (JavaScript)
Regex that matches only valid Minecraft usernames
Submitted by
demented
-
a year ago
2022-07-11 13:44
(Last modified a year ago)
2022-07-11 13:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Author names
Python
Matches author names
Submitted by
anonymous
-
a year ago
2022-07-12 06:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
匹配带有后缀的数字
PCRE2 (PHP >=7.3)
0.12GB 0.12 224KB 224 1.14 1.14 23 23
Submitted by
anonymous
-
a year ago
2022-07-12 08:48
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
1
...
786
787
788
789
790
791
792
...
855
get custom emoji
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
(?<=
\:
)
\w
+
(?=
\:
)
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
a year ago
2022-08-19 08:41