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,880 community submitted regex patterns...
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
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
import匹配
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2017-02-09 15:15
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
traceroute
Python
no description available
Submitted by
anonymous
-
7 years ago
2017-02-09 09:31
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Replace sinon stub configuration with ts-mockito equivalent
ECMAScript (JavaScript)
Replaces sinon.js stubs configuration with similar behaviour achievied using the ts-mockito library
Submitted by
anonymous
-
7 years ago
2017-02-08 06:13
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
IPv4 dotted decimal
ECMAScript (JavaScript)
This regexp was written for Regex Tuesday Challenge - Week Six.
Submitted by
anonymous
-
7 years ago
2017-02-07 15:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
argsert
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2017-02-06 23:28
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
extract username from windows domain\user
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2017-02-02 14:24
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2017-02-01 07:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
dd-MM-yyyy validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2017-01-30 14:21
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
parsing objdump output
Python
parsing objdump output
Submitted by
anonymous
-
7 years ago
2017-01-29 08:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
/etc/passwd for most Linux distributions (e.g. Debian)
Python
no description available
Submitted by
anonymous
-
7 years ago
2017-01-27 15:40
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
SharePoint file name validator - KB905231
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2017-01-27 04:41
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Define and detect custom tag with specific prefix & suffix
ECMAScript (JavaScript)
Define and detect custom tag with specific prefix & suffix Define custom tag : `` . Regex is /\s]+?):>/gm . Prefix is `` . tag_name can not contain prefix, suffix, space, tab or newline character . tag_name can not be null ....
Submitted by
ShenTengTu
-
7 years ago
2017-01-26 17:04
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
#define
Python
no description available
Submitted by
anonymous
-
7 years ago
2017-01-25 14:49
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
double number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2017-01-23 13:06
1
...
297
298
299
300
301
302
303
...
394
Thorough UK Postcode Validator with In/Out code capture groups
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Regular Expression
Python
r"
(
[
A
-
PR
-
UWYZ
]
(?:
[
A
-
HK
-
Y
]
[
0
-
9
]
(?:
[
0
-
9
]
|
[
ABEHMNPRV
-
Y
]
)?
|
[
0
-
9
]
(
[
0
-
9
]
|
[
A
-
HJKPSTUW
]
)?
)
)
?
(
[
0
-
9
]
[
ABD
-
HJLNP
-
UW
-
Z
]
{2}
)
"
gi
Open regex in editor
Description
Loading markdown...
Submitted by
Chris G
-
7 years ago
2016-09-30 15:51