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
Most upvotes
Most downvotes
Highest Score
Lowest Score
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 18,040 community submitted regex patterns...
0
switchover
PCRE2 (PHP >=7.3)
regex to split the following data into columns: 2021-06-15 10:41:04 SMM MANUAL MANUAL 6 7 manually switch OK 2021-09-03 14:32:01 UPS SW FAIL SW RESTART 8 - Error cnt: 1;err code:DAEMON_ERR_RESTART, param: 2021-09-03 14:35:04 UPS SW FAIL SW RESTART ...
Submitted by
anonymous
-
3 years ago
0
https://github.com/tronprotocol/tips/blob/master/tip-20.md
Python
/// TRC20.sol -- API for the TRC20 token standard // See . // This file likely does not meet the threshold of originality // required for copyright to apply. As a result, this is free and...
Submitted by
anonymous
-
3 years ago
0
974618121112
Python
``Hash: 0xcba5ee76d1b322114c4e5b1a3e00edf1065bf0346bef88ee603a8a061908db88- https://img.shields.io/azure-devops/coverage/0xb95343413e459a0f97461812111254163ae53467855c0d73e0f1e7c5b8442fa3/https://tokenview.com/en/search/0xdf6ac64b05e8bb7ca5c8d31ff44a00544eb039a7f467a424ae1c1e1926f19684/974618121112...
Submitted by
anonymous
-
3 years ago
0
Math evaluation
ECMAScript (JavaScript)
Regex for capturing LaTeX and passing it to a program, like sympy.
Submitted by
anonymous
-
3 years ago
0
MongoDB Object ID validation
PCRE2 (PHP >=7.3)
24 character hex string matching MongoDB Object ID format
Submitted by
anonymous
-
3 years ago
0
拼音正则匹配
PCRE2 (PHP >=7.3)
拼音正则匹配
Submitted by
anonymous
-
3 years ago
0
JSON trailing comma match
PCRE2 (PHP >=7.3)
Don't rely on this for any serious business, though.
Submitted by
Basix
-
3 years ago
0
Keep only domain and protocol it present.
PCRE2 (PHP >=7.3)
Keep only domain and protocol it present.
Submitted by
EcoTechie
-
3 years ago
0
app version number greater than
PCRE2 (PHP >=7.3)
app version number greater than
Submitted by
anonymous
-
3 years ago
0
US Phone number regex
ECMAScript (JavaScript)
Matches formats such as the following: 555-555-5555 (555)555-5555 (555) 555-5555 555 555 5555 5555555555...
Submitted by
anonymous
-
3 years ago
(Last modified a year ago)
0
upload file name validations
ECMAScript (JavaScript)
upload file name validations
Submitted by
Arumugam
-
3 years ago
0
Email
PCRE2 (PHP >=7.3)
Email no Ñ no tilde
Submitted by
anonymous
-
3 years ago
0
facebook
PCRE2 (PHP >=7.3)
AMP - chinatimes
Submitted by
anonymous
-
3 years ago
(Last modified 2 years ago)
0
youtube
PCRE (PHP <7.3)
AMP - chinatimes
Submitted by
anonymous
-
3 years ago
1
Inverse Brainfuck Regex
PCRE2 (PHP >=7.3)
Regex to select everything except brainfuck symbols.
Submitted by
rex0515
-
3 years ago
1
Brainfuck Regex
PCRE2 (PHP >=7.3)
Regex to select every brainfuck symbol.
Submitted by
rex0515
-
3 years ago
0
Uneven numbers of consontants
Java 8
Uneven numbers of consonants
Submitted by
Kristian Reitzel
-
3 years ago
0
IPv4 address from text
Python
Found in here, stackoverflow url.
Submitted by
anonymous
-
3 years ago
1
Split Base64
PCRE2 (PHP >=7.3)
-
Submitted by
anonymous
-
3 years ago
0
Get property name of ADB string
Python
Match the property name of an ADB string that is retrieved with adb shell dumpsys activity service com.android.car car-getpropertyconfig
Submitted by
anonymous
-
3 years ago
1
...
184
185
186
187
188
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
^
[
\t
]
*
(
[
0
]
|
(
[
-+
]
?
(
\d
*
\.
)?
\d
+
)
(
cm
|
mm
|
in
|
px
|
pt
|
pc
|
Q
|
em
|
ex
|
ch
|
rem
|
vw
|
vh
|
vmin
|
vmax
|
%
)
){1}
(
[
\t
]
+
(
[
0
]
|
(
[
-+
]
?
(
\d
*
\.
)?
\d
+
)
(
cm
|
mm
|
in
|
px
|
pt
|
pc
|
Q
|
em
|
ex
|
ch
|
rem
|
vw
|
vh
|
vmin
|
vmax
|
%
)
)
){0,3}
[
\t
]
*
$
/
gm
Open regex in editor
Description
Matches upto 4 length values for CSS properties like border-width.
Submitted by
DelD
-
3 years ago
(Last modified 3 years ago)