Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
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 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 3,840 community submitted regex patterns...
0
find domains in text
ECMAScript (JavaScript)
This regex will find domain inside of strings
Submitted by
anonymous
-
a year ago
0
Filename without extension
ECMAScript (JavaScript)
Selects only the filename of a file, including dotfiles.
Submitted by
anonymous
-
a year ago
(Last modified 4 months ago)
0
Pick uuidValue from jSON payload
Java 8
.
Submitted by
jeevan
-
a year ago
0
Email address supporting plus addressing and multiple subdomains.
ECMAScript (JavaScript)
This expression follows the rules displayed at https://knowledge.validity.com/hc/en-us/articles/220560587-What-are-the-rules-for-email-address-syntax-. Note that their rules DO NOT exactly match those of the applicable RFC 5322 (sections 3.2.3 and 3.4.1) and RFC 5321, but rather supports a pattern ...
Submitted by
Eric Bewley
-
a year ago
0
Extract email from - Add "email"
ECMAScript (JavaScript)
Replace Add "xyz@abc.com" with xyz@abc.com
Submitted by
anonymous
-
a year ago
0
test everything
Java 8
hello
Submitted by
anonymous
-
a year ago
0
hsl colors
ECMAScript (JavaScript)
matches many HSL and HSLA formats permitted in CSS
Submitted by
anonymous
-
a year ago
0
匹配限定后缀名中的指定关键字,忽略大小写
Golang
匹配.mkv和.mp4后缀名中包含menu或sp或.sample,忽略大小写
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
匹配限定后缀名的文件,忽略大小写
Golang
匹配.mka后缀名的文件,忽略大小写
Submitted by
anonymous
-
a year ago
0
walter1976LastClean
Golang
walter1976LastClean
Submitted by
anonymous
-
a year ago
0
SUPPL REGEX
Java 8
Regex to get only information in the SUPPL subdirectory
Submitted by
O'Connor
-
a year ago
(Last modified a year ago)
0
Get digits
Golang
Trying to get digits
Submitted by
Arthur Silva
-
a year ago
0
gsap current price
ECMAScript (JavaScript)
Getting google shopping current pricees
Submitted by
anonymous
-
a year ago
0
Trimmed (no unicode space separators at start or end of string
ECMAScript (JavaScript)
Disallows all space-like characters -- see https://www.fileformat.info/info/unicode/category/Zs/list.htm -- at the start or end of the string
Submitted by
anonymous
-
a year ago
0
Match Discord Emoji
ECMAScript (JavaScript)
This matches all type of emoji which can be used on Discord.
Submitted by
cph101
-
a year ago
0
Riedler's 2nd URL regex
Java 8
why did I make this?
Submitted by
Riedler
-
a year ago
-1
Matching un-wrapped HTML & CSS code blocks in Markdown
ECMAScript (JavaScript)
PATTERNS RegEx Flavour ECMAScript (JavaScript, ActionScript, TypeScript, etc.) ...
Submitted by
anonymous
-
a year ago
0
0及最多6位正负整数
ECMAScript (JavaScript)
1、匹配6位以内正负整数 2、可以匹配0 有效例子 0 21...
Submitted by
anonymous
-
a year ago
0
test
ECMAScript (JavaScript)
test
Submitted by
anonymous
-
a year ago
0
capture strings between starts and ends line
ECMAScript (JavaScript)
capture any strings between starts and ends line
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
...
187
188
189
190
191
192
ECMAScript/JavaScript trim
106
Regular Expression
ECMAScript (JavaScript)
/
^
[
\t
]
+
|
[
\t
]
+
$
/
gm
Open regex in editor
Description
Trim leading and trailing whitespace from a string.
Submitted by
fp
-
11 years ago
(Last modified 6 hours ago)