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...
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Ultimate markdown parser
ECMAScript (JavaScript)
In order to neasting parsing work you need to run this regex multiple times on same target.
Submitted by
Mateusz Budzisz
-
9 months ago
2023-01-02 01:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find an SVG constructed in javascript nuxt
ECMAScript (JavaScript)
Find an SVG constructed in javascript nuxt
Submitted by
Ray
-
9 months ago
2023-01-01 21:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
UK Phone Number
ECMAScript (JavaScript)
Check for varied prefixes, followed by a suffix of exactly 9 digits
Submitted by
anonymous
-
9 months ago
2023-01-01 20:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Remove Parentheses
ECMAScript (JavaScript)
Codewars kata 6 kyu , about Regular Expression JavaScript, help meeeh
Submitted by
anonymous
-
9 months ago
2022-12-31 03:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Remove HTML tags & attributes from text
ECMAScript (JavaScript)
Removes html tags (including attributes) from text
Submitted by
Stino
-
9 months ago
2022-12-30 13:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email
ECMAScript (JavaScript)
Email
Submitted by
anonymous
-
9 months ago
2022-12-28 16:40
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match last repetition and remove it
ECMAScript (JavaScript)
Remove the last repetition of a on texts like: a b c d a e f g
Submitted by
Icaruk
-
9 months ago
2022-12-28 09:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find Japanese
ECMAScript (JavaScript)
Find Japanese
Submitted by
nghilq
-
9 months ago
2022-12-23 09:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find validation name and name inside parentheses
ECMAScript (JavaScript)
Find validation name and name inside parentheses
Submitted by
nghilq
-
9 months ago
2022-12-23 03:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Checking if it's an hubspot url
ECMAScript (JavaScript)
This Regex checks if it's a valid hubspot domain
Submitted by
anonymous
-
9 months ago
2022-12-22 14:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Only numbers and length 9
ECMAScript (JavaScript)
Only numbers and length 9
Submitted by
anonymous
-
9 months ago
2022-12-22 02:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Only numbers and length under 10
ECMAScript (JavaScript)
Only numbers and length under 10
Submitted by
anonymous
-
9 months ago
2022-12-22 01:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Validación de Facturas Fiscales Paraguay
ECMAScript (JavaScript)
Sucursal - Expedición - Número de Comprobante
Submitted by
anonymous
-
9 months ago
2022-12-20 19:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Date String ISO Pattern
Golang
Date String ISO Pattern matcher
Submitted by
Lucas Morais
-
9 months ago
2022-12-19 15:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
minecraft custom chat parser
ECMAScript (JavaScript)
basically parses Minecraft CUSTOM chat messages. it can parse: [rank] username: message [rank] username > message [rank] username › message [rank] username » message
Submitted by
anonymous
-
9 months ago
2022-12-18 09:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
vue sfc script tag
ECMAScript (JavaScript)
Regexp to match vue sfc script tag
Submitted by
YuTengjing
-
9 months ago
2022-12-17 12:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Simple reduce string words
ECMAScript (JavaScript)
ECMAScript regex to try reduce words
Submitted by
Alan Ferreira
-
9 months ago
2022-12-16 19:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex to match all instances not inside quotes (inc escaped quotes)
ECMAScript (JavaScript)
See https://stackoverflow.com/questions/6462578/regex-to-match-all-instances-not-inside-quotes
Submitted by
anonymous
-
9 months ago
2022-12-16 16:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL SERVER
ECMAScript (JavaScript)
Регулярное выражения для проверки URL адреса сервера
Submitted by
anonymous
-
9 months ago
2022-12-16 10:20
(Last modified 9 months ago)
2022-12-16 10:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Dutch postalcode regex
ECMAScript (JavaScript)
Matches first postal code, case insensitive
Submitted by
anonymous
-
9 months ago
2022-12-12 12:38
1
...
7
8
9
10
11
12
13
...
177
Parse Kubernetes Resource URI Paths
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
Golang
`
^
(?:
/api
|
/apis/
(?P<GROUP>
[^
/
]
+
)
)
/
(?P<VERSION>
[^
/
]
+
)
(?:
/namespaces/
(?P<NAMESPACE>
[^
/
]
+
)
)?
/
(?P<RESOURCETYPE>
[^
/
\n
]
+
)
(?:
/
(?P<NAME>
[^
/
\n
]
+
)
)?
(?:
/
(?P<SUBRESOURCE>
[^
/
\n
]
+
)
)?
$
`
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Mathew Wicks
-
2 years ago
2021-11-05 05:52