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,000 community submitted regex patterns...
0
identify html headers
PCRE (PHP <7.3)
Able to identify many header html tags in the text and group eachone.
Submitted by
Adão Dias
-
3 years ago
0
Phone Number Match only + and digits
ECMAScript (JavaScript)
not match : 123-456-7890 (123) 456-7890 123 456 7890 123.456.7890...
Submitted by
Azhi
-
3 years ago
0
ID-in-C
PCRE2 (PHP >=7.3)
Identifiers in C
Submitted by
anonymous
-
3 years ago
0
DiscoveryPlus regex
PCRE2 (PHP >=7.3)
.
Submitted by
anonymous
-
3 years ago
0
subnet cidr check
Java 8
subnet cidr check example 192.168.1.0/30
Submitted by
Di
-
3 years ago
0
Ip check, shortest
PCRE2 (PHP >=7.3)
Ip check, shortest validate ip
Submitted by
Di
-
3 years ago
0
First letter of each word
ECMAScript (JavaScript)
Lowercase whole line to make it work
Submitted by
PolyFlower
-
3 years ago
0
Regex to add <p> in the beginning
PCRE2 (PHP >=7.3)
In case #3: A should be prepended to the beginning of the first paragraph.
Submitted by
anonymous
-
3 years ago
0
Regex to add <p> in the beginning
PCRE2 (PHP >=7.3)
In case #3: A should be prepended to the beginning of the first paragraph.
Submitted by
anonymous
-
3 years ago
0
ACM Code Extraction
Java 8
title
Submitted by
anonymous
-
3 years ago
0
subdomainfinder.c99.nl to seeds
PCRE2 (PHP >=7.3)
parse results from https://subdomainfinder.c99.nl/ to https-seeds.
Submitted by
anonymous
-
3 years ago
0
clean up old line breaks replacing with a closed paragraph </p>and <p>
PCRE2 (PHP >=7.3)
I want to clean up old line breaks replacing with a closed paragraph and an open paragraph . So, , or , or becomes
Submitted by
anonymous
-
3 years ago
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
bash path splitter
PCRE (PHP <7.3)
Split a a path into to groups around a central directory
Submitted by
me
-
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
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
...
455
456
457
458
459
...
900
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(?:
youtube
(?:
-nocookie
)?
\.
com
\/
(?:
[^
\/
\n\s
]
+
\/
\S
+
\/
|
(?:
v
|
e
(?:
mbed
)?
)
\/
|
\S
*
?
[
?&
]
v=
)
|
youtu
\.
be
\/
)
(
(?:
\w
|
-
){11}
)
/
gm
Open regex in editor
Description
AMP - chinatimes
Submitted by
anonymous
-
3 years ago