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,020 community submitted regex patterns...
1
Timestamp Regex
ECMAScript (JavaScript)
matches a timestamp that is in the format of Aug 14, 2024, 10:12 AM or month shortcode followed by day, year, time in 12 hours
Submitted by
astro
-
3 months ago
1
german date era with tolerance: n. Chr. or v. Chr. / n. Ztr of v. Ztr
ECMAScript (JavaScript)
Maches german era notations in date "v. Chr" and "v. Ztr" It is meant to be tolerant : periods and spaces are optional, and it is case insensitive
Submitted by
Olivier CHEVET
-
3 months ago
1
East pointer, reference and const to west.
Python
just as god intended. "T const" -> "const T"
Submitted by
SpaghettDev
-
3 months ago
(Last modified 3 months ago)
1
Split Docker image into image name, tag and digest with all optional
Golang
Splits a Docker image string into the separate parts: image, tag, digest tag and digest are optional
Submitted by
Roemer
-
3 months ago
1
E-mail pattern for html input.
ECMAScript (JavaScript)
Simply e-mail pattern for html tag.
Submitted by
KsaR99
-
3 months ago
0
Validates an IPv4 Address
PCRE2 (PHP >=7.3)
Given a string, the regex would match if it is a valid IPv4 address.
Submitted by
A-Paint-Brush
-
3 months ago
(Last modified 3 months ago)
1
Match Valid C-like String Literal
PCRE2 (PHP >=7.3)
This regex matches a single one-line C-like string literal. The parsing rules are almost exactly the same as C string literals: A string literal can be surrounded by either single or double quotes, but they must match. In a double quoted string, single quotes can optionally not be preceded by a back...
Submitted by
A-Paint-Brush
-
3 months ago
1
Parse C-like Source Line
PCRE2 (PHP >=7.3)
Description This parses a line of C-like source code into the groups `, , , , and `. It should be matched against a line of source code either containing or not containing the line ending. Use Cases ...
Submitted by
A-Paint-Brush
-
3 months ago
(Last modified 3 months ago)
1
Simple but powerful email
ECMAScript (JavaScript)
"/" - start of regular expression "^" - anchor to beginning of string Group: [a-z0-9]+ "[a-z0-9]" - Latin character or digit "+" - occurring ONE or more times...
Submitted by
Diableros [https://github.com/Diableros]
-
3 months ago
(Last modified 3 months ago)
1
Obsidian internal links
PCRE2 (PHP >=7.3)
This should match any valid Obsidian internal links, in either wikilinks or Markdown format. It is designed for use with ICU.
Submitted by
@Calion
-
3 months ago
(Last modified 3 months ago)
1
Get description from metadata GPX file
PCRE2 (PHP >=7.3)
Get description from metadata GPX file
Submitted by
anonymous
-
3 months ago
2
Command line parser
.NET 7.0 (C#)
Supports parameters such as keys and values, also parameters enclosed in quotes.
Submitted by
Pavel Bashkardin
-
3 months ago
(Last modified 3 months ago)
0
test
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
3 months ago
(Last modified 3 months ago)
1
UrlRegex
PCRE2 (PHP >=7.3)
Test for URL regex
Submitted by
anonymous
-
3 months ago
(Last modified 3 months ago)
1
Комментарии функции БСП
Python
Комментарии к функциям 1С
Submitted by
binx@mail.ru
-
3 months ago
1
Common Separated Values
PCRE2 (PHP >=7.3)
Parse common separated value
Submitted by
Iulian Fecioru
-
3 months ago
1
CSV parser (with Quotes) (.NET)
PCRE2 (PHP >=7.3)
parse comma separated values with quotes
Submitted by
Iulian Fecioru
-
3 months ago
1
ObjAction(\s+\=|\=)(\s+\[|\[).*?\;
ECMAScript (JavaScript)
asdad
Submitted by
anonymous
-
3 months ago
(Last modified 3 months ago)
1
search *user=.*
Python
for ansible regex_search in docker envs
Submitted by
anonymous
-
3 months ago
1
Strings with spezified Number
PCRE2 (PHP >=7.3)
Will match strings with the desired number. For example 1234 but not 12345 or 41234. Will ignore leading zeros so 01234 for example will match. Important. Replace 1234 in regex with the actual searched for number
Submitted by
anonymous
-
3 months ago
1
...
5
6
7
8
9
...
901
Community Library Entry
3
Regular Expression
PCRE (PHP <7.3)
/
(?P<shortcode>
(?:
(?:
\s
?
\[
)
)
(?P<name>
[
\w
\-
]
{3,}
)
(?:
\s
(?P<attrs>
[
\w\d
,
\s
=
\"\'\-\+\#\%\!\~\`\&\.
\s
\:\/\?\|
]
+
)
)?
(?:
\]
)
(?:
(?P<html>
[
\w\d
\,\!\@\#\$\%\^\&\*\(\\
)
\s
\=\"\'\-\+\&\.
\s
\:\/\?\|\<\>
]
+
)
(?:
\[\/
[
\w
\-\_
]
+
\]
)
)?
)
/
ug
Open regex in editor
Description
Parse shortcodes, its attributes values and html
Submitted by
anonymous
-
9 years ago