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 7,900 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
[JS] Detect hostname with or without subdomain
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2017-03-02 16:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Validate input la boi cua 100k
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2017-03-02 07:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MMDP_regex_workshop_simple_zip_code_example
Python
no description available
Submitted by
ghukill
-
7 years ago
2017-03-01 16:43
4
6 upvotes, 2 downvotes (score 40.9%) (You must be signed in to vote)
North American Phone Number
ECMAScript (JavaScript)
Validate North American phone numbers with capture groups for the Area Code, Exchange Code, Line Number, and Extension.
Submitted by
AaronBoots
-
7 years ago
2017-02-28 17:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
test regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2017-02-28 10:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Svn branch from svn look
Python
no description available
Submitted by
anonymous
-
7 years ago
2017-02-26 16:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Frisky radio show parsing pattern
Python
no description available
Submitted by
anonymous
-
7 years ago
2017-02-25 17:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Validare CNP Romania Regex
ECMAScript (JavaScript)
This regex is for validating Roumanian CNP ^[1-9]\d{2}(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])(0[1-9]|[1-4]\d|5[0-2]|99)(00[1-9]|0[1-9]\d|[1-9]\d\d)\d$
Submitted by
Ionut M. Ionete
-
7 years ago
2017-02-24 11:07
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Find particular punctuation
ECMAScript (JavaScript)
This regex find punctuation like "!", "!!!", "?", "???", "!?", "!!!???" and unlimited time repeated "!" and "?"
Submitted by
Ivijan-Stefan Stipic
-
7 years ago
2017-02-23 20:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
await
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2017-02-21 20:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ChatWars Equipment
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2017-02-21 14:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find Language name
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2017-02-17 15:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
YouTube Channel Username and ID
ECMAScript (JavaScript)
Extract the Channel Username or Channel ID given a YouTube Channel URL.
Submitted by
cris_hitech
-
7 years ago
2017-02-17 10:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
card
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2017-02-16 18:09
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Unuseful names
ECMAScript (JavaScript)
no description available
Submitted by
Moayad
-
7 years ago
2017-02-16 04:36
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Community Pageviews
ECMAScript (JavaScript)
no description available
Submitted by
Alfredo Hinojosa
-
7 years ago
2017-02-16 00:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Tablename = schema.table
ECMAScript (JavaScript)
Tablename composed by schema.table
Submitted by
Glauber Costa Vila Verde
-
7 years ago
2017-02-14 18:36
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Find Apostrophe via Regex and JavaScript
ECMAScript (JavaScript)
This is function matching apostrophe via regex and JavaScript. Also find broken apostrophe and match whole word.
Submitted by
Ivijan-Stefan Stipic <creativform@gmail.com>
-
7 years ago
2017-02-14 08:06
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
TLO con multiples UPLOAD
Python
no description available
Submitted by
anonymous
-
7 years ago
2017-02-13 08:43
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Ansible Host Var checking
Python
We had an issue where the "hosts=some_var" value could cause mass deployments if the wrong value was passed through. Specifically a comma with nothing surrounding it (i.e. "hosts=,"). This regex will allow us to fail when certain characters are present.
Submitted by
anonymous
-
7 years ago
2017-02-10 19:33
1
...
297
298
299
300
301
302
303
...
395
Cédula de identidad venezolana
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
(
[
V,E
]
-
[
0
-
9
]
{6,8}
)
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
7 years ago
2016-10-11 17:30