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...
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
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
...
297
298
299
300
301
302
303
...
395
Facebook embedded video
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Python
r"
^
(?:
(
http
|
https
)
://
|
//
)?
(?P<url>
www
.
(?P<resource>
facebook
.
com
)
.
*
?
/video
.
php
\?
.
*
?
(?:
(?:
videos%2F
(
vb
\.
[
0
-
9
]
+
%2F
)?
|
v%3D
)
(?P<id>
[
0
-
9
]
+
)
)
.
*
)
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
7 years ago
2016-09-28 09:59