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 5,600 community submitted regex patterns...
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
SemVer chain parsing
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-18 09:48
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
yyyy-MM-dd hh:MM
ECMAScript (JavaScript)
date format for "yyyy-MM-dd hh:MM" valid strict model.
Submitted by
image72
-
8 years ago
2015-09-28 13:36
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Get Headings From Markdown Format
ECMAScript (JavaScript)
Get all headings in a Markdown Format Text
Submitted by
Ferdinand Dimas
-
8 years ago
2015-11-30 04:23
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Non vowel words
ECMAScript (JavaScript)
/\b(+)\b/ig
Submitted by
regexe
-
8 years ago
2015-12-29 19:32
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
National Insurance Number regular expression
PCRE2 (PHP >=7.3)
This regular expression is build from the description of NINO number of GOV.UK,
Submitted by
Iftakhar Husan
-
3 years ago
2021-03-20 22:05
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Email
ECMAScript (JavaScript)
This is a bit simpler version that is still quite robust. It was taken from a Formik example.
Submitted by
codefinity
-
3 years ago
2021-03-20 22:30
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Livestock - Visual tag and Back tag
PCRE2 (PHP >=7.3)
Visual tag and Back tag cannot more than 15 characters or only can contain uppercase, lowercase, space and dash.
Submitted by
Adrian Yim
-
3 years ago
2021-03-26 17:11
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
among us references
ECMAScript (JavaScript)
it detects among us references among us aming us mongus amogus sus...
Submitted by
h
-
3 years ago
2021-05-03 17:10
(Last modified 3 years ago)
2021-05-07 18:00
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
discord invite link
ECMAScript (JavaScript)
detect discord invite links such as: discord.gg/link discord.com/invite/link .gg/link .com/invite/link...
Submitted by
padero
-
3 years ago
2021-05-15 01:47
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
camelCase2snake_case
PCRE2 (PHP >=7.3)
Convert camelCase to snake_case def camelCase2snake_case(txt): """ Convert camelCase to snake_case https://regex101.com/library/wUcSv4...
Submitted by
JV-conseil
-
8 months ago
2023-03-23 19:10
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Discord ID:NAME#DISCRIM match
PCRE2 (PHP >=7.3)
For example, using `Carl-bot to dump members of the @everyone role ordering highest of id`: `!dump @everyone %i:%u -o id` Example of return: 498984530968051713:lanjt#2129 ......
Submitted by
lanjt
-
2 years ago
2021-07-06 00:24
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
example
PCRE2 (PHP >=7.3)
example
Submitted by
anonymous
-
2 years ago
2021-07-13 06:44
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Viet Nam Phone Number
ECMAScript (JavaScript)
Viet Nam Phone Number Regex. This regex include: Cellphone number: Viettel, Vinaphone, Mobiphone, Vietnamobile, Iteltelecom, Reddi (055) Telephone number (such as: 024, 028,...) Start with Exactly 10 or 11 numbers
Submitted by
tuangt12
-
2 years ago
2021-09-22 16:50
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Match any url in text or html (http, https)
PCRE2 (PHP >=7.3)
Match any url in text or html (http, https)
Submitted by
Jérémy Munsch
-
2 years ago
2022-02-02 15:04
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Multiple emails seperated with comma
ECMAScript (JavaScript)
Multiple emails seperated with comma allowed multiple dot ltds
Submitted by
Hassan Youssef
-
8 years ago
2016-04-22 14:20
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Find css lines with px sizing
ECMAScript (JavaScript)
Use to find css sizing that migh need conversion to vs or alike.
Submitted by
Bob
-
8 years ago
2016-04-27 12:39
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
IBAN
ECMAScript (JavaScript)
The complete regex for IBAN numbers
Submitted by
anonymous
-
7 years ago
2016-06-27 18:57
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Sql Injection detection
ECMAScript (JavaScript)
this regex detect any sql injections .
Submitted by
Saeed.Tabrizi@gamil.com
-
7 years ago
2016-08-12 01:11
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Markdown link rewriting
ECMAScript (JavaScript)
A regular expression which finds all instances of markdown links and helps with rewriting link paths.
Submitted by
Will Vaughn
-
7 years ago
2016-09-07 21:06
7
19 upvotes, 12 downvotes (score 43.8%) (You must be signed in to vote)
simple common lisp tokenizer
ECMAScript (JavaScript)
main symbols and comments are supported
Submitted by
d4rw1n1s7@gmail.com
-
9 years ago
2015-03-10 16:24
1
2
3
4
5
6
7
...
280
Hashtag
15
25 upvotes, 10 downvotes (score 54.9%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
#
\w
+
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
Joogl
-
9 years ago
2014-10-05 17:14