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 5,500 community submitted regex patterns...
1
(experimental) strip whitespace and linebreaks between HTML tags
ECMAScript (JavaScript)
Basic expression to match and/or remove whitespace and linebreaks between HTML tags via JavaScript (ECMAScript). [x] respects whitespace between ` and ` tags [x] matches multiple lines around words, but not between them [x] totally not safe for use in a production environment ;) ...
Submitted by
Nicholas Berlette (https://github.com/nberlette)
-
2 years ago
0
Email id extraction
Python
extracting email id from given string
Submitted by
anonymous
-
2 years ago
0
Any mobile number extraction
Python
extracting mobile number along with country code
Submitted by
anonymous
-
2 years ago
1
HTML Regex
Python
HTML Pattern Recursively use this pattern to match HTML content. This pattern will match Hello World and return a groupdict of tag, body and attribute data. Then you can use this pattern on the body to parse nested HTML tags as well.
Submitted by
GrandMoff100
-
2 years ago
0
Tizen Package ID Requirements
ECMAScript (JavaScript)
These are the requirements for a Tizen Pacakge ID of type applicationIdType This type expects pattern '[0-9a-zA-Z]{10}.{1,52}'
Submitted by
sherwino
-
2 years ago
0
UPI ID regex
ECMAScript (JavaScript)
regex to detect or extract UPI ID
Submitted by
anonymous
-
2 years ago
1
Street names in Germany
ECMAScript (JavaScript)
Validates street names of Germany.
Submitted by
Chandru Naik
-
2 years ago
0
Add gcache.size to Galera Cluster node config
Python
Regexp to add gcache.size to Galera cluster config, using Ansible's replace module
Submitted by
Aurelio Llorente
-
2 years ago
0
6 Digit Numeric Length
ECMAScript (JavaScript)
This Test will check is the given string is Exactly of 6 digits & all chars are Numbers. use case OTP Validations.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
lua_pattern
Python
lua file name
Submitted by
anonymous
-
2 years ago
0
Prefix all classes
ECMAScript (JavaScript)
Prefix all classes
Submitted by
anonymous
-
2 years ago
0
email regex
ECMAScript (JavaScript)
check mail regex
Submitted by
anonymous
-
2 years ago
(Last modified 9 months ago)
0
mr regexp
ECMAScript (JavaScript)
Рег
Submitted by
anonymous
-
2 years ago
0
Shell multiline parser
ECMAScript (JavaScript)
Partially completed pattern for vscode-highlight
Submitted by
disco0
-
2 years ago
0
Find element with specific attribute (supports multiline element)
ECMAScript (JavaScript)
This will help you find all the v-btn component usage with prop color set to primary.
Submitted by
anonymous
-
2 years ago
0
Matching %d-%b date format
Python
Matching %d-%b date format with or without leading 0 in the day
Submitted by
Justin Copeland
-
2 years ago
0
变成一行
ECMAScript (JavaScript)
把代码变成一行一个属性
Submitted by
naoyuyan
-
2 years ago
0
Find Duplicate Characters in String
ECMAScript (JavaScript)
Given a string, find the duplicate characters.
Submitted by
Matthew Hiebing
-
2 years ago
0
cookie parser
ECMAScript (JavaScript)
Parser for cookies; works in HTTP servers AND front end
Submitted by
lopste / Vercte
-
2 years ago
0
BIN ELO - 2022
ECMAScript (JavaScript)
Used to validate credit cards from ELO flag.
Submitted by
Searched in internet
-
2 years ago
1
...
35
36
37
38
39
...
275
Shell multiline parser
0
Regular Expression
ECMAScript (JavaScript)
/
(
¬zinit
)
(?<remaining_command>
(?<simple_remaining>
.
+
$
(?<!
[
\\
'"
]
)
)
|
(?<continuation_line>
.
+
(?<continuation>
(?<slash_continuation>
[
\\
]
\n
)
|
(?<quoted_continuation>
[
"
]
\n
[
\s\S
]
*
(?<!(?:
[
\\
]
{2}
)*
[^
\\
]
)
[
"
]
)
)
)*
.
+
)
/
gm
Open regex in editor
Description
Partially completed pattern for vscode-highlight
Submitted by
disco0
-
2 years ago