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 6,080 community submitted regex patterns...
0
the end of file paragraph should have a closing </p>
PCRE2 (PHP >=7.3)
the end of file paragraph should have a closing should be used after regex2 to remove at the end
Submitted by
anonymous
-
3 years ago
0
after the </h2> Any new paragraph should start with a <p>
PCRE2 (PHP >=7.3)
In case #2: after the Any new paragraph should start with a
Submitted by
anonymous
-
3 years ago
0
KFZ Kennzeichen Prüfung (ohne -)
ECMAScript (JavaScript)
Prüft ein deutsches Kfz-Kennzeichen auf gültigen Aufbau Source: morpheus42
Submitted by
Simon Müller
-
3 years ago
0
Task D5
PCRE2 (PHP >=7.3)
For course
Submitted by
anonymous
-
3 years ago
0
HTTP Authorization header for JWT token
ECMAScript (JavaScript)
HTTP Authorization header for JWT token
Submitted by
QNimbus
-
3 years ago
0
JWT token
ECMAScript (JavaScript)
JWT token
Submitted by
QNimbus
-
3 years ago
0
Uneven numbers of consontants
Java 8
Uneven numbers of consonants
Submitted by
Kristian Reitzel
-
3 years ago
0
facebook
PCRE2 (PHP >=7.3)
AMP - chinatimes
Submitted by
anonymous
-
3 years ago
(Last modified 2 years ago)
0
Email
PCRE2 (PHP >=7.3)
Email no Ñ no tilde
Submitted by
anonymous
-
3 years ago
0
upload file name validations
ECMAScript (JavaScript)
upload file name validations
Submitted by
Arumugam
-
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
app version number greater than
PCRE2 (PHP >=7.3)
app version number greater than
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
拼音正则匹配
PCRE2 (PHP >=7.3)
拼音正则匹配
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
Math evaluation
ECMAScript (JavaScript)
Regex for capturing LaTeX and passing it to a program, like sympy.
Submitted by
anonymous
-
3 years ago
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
Regex for Nigerian Phone Numbers
PCRE2 (PHP >=7.3)
Regex for Nigerian Phone Numbers
Submitted by
koderant
-
3 years ago
0
OpenVPN access log
PCRE2 (PHP >=7.3)
This regular expression can be used in SIEM or scripts to extract special fields such as:
Submitted by
EskiSlav
-
3 years ago
(Last modified 3 years ago)
0
Match Root Domain
ECMAScript (JavaScript)
This is meant to match a specific root domain in certain formats. For example, I'm excluding the root domain by itself as that could be what is written in the documentation, but in links, or code, it would usually have a subdomain and protocol attached.
Submitted by
Joseph
-
3 years ago
1
...
212
213
214
215
216
...
304
Xhams1
0
Regular Expression
ECMAScript (JavaScript)
/
(
window
\.
player
\s
\=
\s
new
\s
XPlayerMobile
\(\"
video
\_
box
\"\,
\s
\{\"
videoId
\"\:
[
a
-
zA
-
Z0
-
9
]
+
\,\"
poster
\"\:\"
)+
(
.
*
?
)+
(?=
\,\"
userSettings
\"\:\{\"
override
\"\:\{\"
autoplay
\"\:
false
\}\}\,\"
debug
\"\:
false
\}\,
\s
pluginSettings
\)\;
)
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago