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 3,540 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Remove HTML tags from HTML string
ECMAScript (JavaScript)
Remove HTML tags from HTML string
Submitted by
hiroimono
-
2 years ago
2021-09-01 10:57
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Div shortcode [div]..[/div]
ECMAScript (JavaScript)
Converts the markdown shortcode for the dive element to the regular HTML: Example shortcode: [div id="bla" class="ups"]some multiple line text[/div]
Submitted by
Dux Linux
-
2 years ago
2021-08-29 10:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
download file
ECMAScript (JavaScript)
get the name of download file
Submitted by
stefango
-
2 years ago
2021-08-29 05:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
LinkedInURL Validation
ECMAScript (JavaScript)
It will validate linkedin profile url validation in client side. using javascript
Submitted by
Arumugam, MiPS
-
2 years ago
2021-08-27 06:30
(Last modified 2 years ago)
2021-08-27 08:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Skype name
ECMAScript (JavaScript)
regex to match skype name
Submitted by
anonymous
-
2 years ago
2021-08-26 08:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
iframe src url
ECMAScript (JavaScript)
Extract the URL (http(s) only) of a given iframe's src attribute.
Submitted by
Neill
-
2 years ago
2021-08-25 20:20
(Last modified 2 years ago)
2021-08-25 20:24
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
yyyy/mm/dd
Golang
^(((\d{3}[1-9]|\d{2}[1-9]\d|\d[1-9]\d{2}|[1-9]\d{3})(\/)(((0[13578]|1[02])(\/)(0[1-9]|[12]\d|3[01]))|((0[469]|11)(\/)(0[1-9]|[12]\d|30))|(02(\/)(0[1-9]|[1]\d|2[0-8]))))|(((\d{2})(0[48]|2468|13579)|((0[48]|2468|3579)00))(\/)02(\/)29))$ Match year/month/day format. e.g: 2020/02/29 [match] 2021/02/29 ...
Submitted by
mayl0421
-
2 years ago
2021-08-25 12:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find Anchor Tags
ECMAScript (JavaScript)
finding all anchor tags to help with removing their href attribute
Submitted by
Cezer
-
2 years ago
2021-08-24 09:09
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Strip from Token to End of Line
ECMAScript (JavaScript)
Utilize " -- " as a Token and strips from the token to the end of the line.
Submitted by
anonymous
-
2 years ago
2021-08-24 00:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Pattern-12r1
ECMAScript (JavaScript)
This pattern needs to validate serial number
Submitted by
Raj
-
2 years ago
2021-08-23 07:56
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Absolute File Path Validation
ECMAScript (JavaScript)
Matches absolute file paths, such as C:\Users\username\Documents\filename.txt The path must contain a file and extension at the end
Submitted by
anonymous
-
2 years ago
2021-08-22 04:09
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
lsblk-output-regex
Golang
Trying to adapt this regex to support LVM.
Submitted by
anonymous
-
2 years ago
2021-08-18 18:00
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Phone Number Selector
ECMAScript (JavaScript)
Select a Phone Number with +98 or 0
Submitted by
Amir Hossein Khateri
-
2 years ago
2021-08-18 13:43
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
selects Bengali text
ECMAScript (JavaScript)
This selects Bengali using the script tag. It works in Javascript, using: text.split(/+/ug) or text.match(/[\p{Script=Bengali}]+/ug) This Regex was provided by Peter Seliger
Submitted by
anonymous
-
2 years ago
2021-08-18 02:38
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
URL check
ECMAScript (JavaScript)
What it does? The `RegExp tries to test if a url is valid or not according to Guildness for URL Display
Submitted by
javalsai
-
2 years ago
2021-08-11 12:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Scuffed phone number detectorizer
ECMAScript (JavaScript)
This is my first real regular expression after following some tutorials. Finds phone numbers, that's about it
Submitted by
hoylecake
-
2 years ago
2021-08-09 20:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Multi Language Letters with single space, no symbol or number or trailing spaces
ECMAScript (JavaScript)
This is tedious
Submitted by
anonymous
-
2 years ago
2021-08-05 17:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
YouTube ID receiver
ECMAScript (JavaScript)
Detects YouTube link in the standard format and shortcuts and it receives the ID of the YT video.
Submitted by
Velidan
-
2 years ago
2021-08-05 06:45
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Username Validation
ECMAScript (JavaScript)
Super simple, just checks for 5 or more letters/numbers/symbols.
Submitted by
Ryan Varley
-
2 years ago
2021-08-02 11:40
(Last modified 2 years ago)
2021-08-02 11:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Password Validator
ECMAScript (JavaScript)
Requirements: 8 characters 1 number 1 symbol Note: Case Insensitive
Submitted by
Srinivas
-
2 years ago
2021-08-02 11:32
1
...
33
34
35
36
37
38
39
...
177
Mayne Way Ent
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
^
(
https:
\/\/
)
[^
\s
/$.?#
]
.
[^
\s
]
*
(
\.
msappproxy
\.
net
)
$
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
Lahyan Djeh
-
2 years ago
2021-06-14 10:04