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 12,120 community submitted regex patterns...
2
regex101: RFC1918 Private IPv4 Addresses, but limited to matching /24 subnet host IDs
PCRE2 (PHP >=7.3)
POSIX ERE compatible, suitable for usage in Bash [ testing Attributions Derived from [regex101: RFC1918 - Private IPv4 addresses by 0100101101001.
Submitted by
anonymous
-
a year ago
1
CH IBAN in Text finden
PCRE2 (PHP >=7.3)
Der Ausdruck findet alle CH (Schweizer) IBAN (International Bank Account Number) in einem beliebigen Text.
Submitted by
anonymous
-
a year ago
1
find literal yyyy-mm-dd dates
PCRE2 (PHP >=7.3)
to find usage of magic strings in a codebase
Submitted by
anonymous
-
a year ago
1
Split transcript into multiple columns
PCRE2 (PHP >=7.3)
Submitted by
Stephen Stroup
-
a year ago
2
Mikrotik firewall logs
Golang
Matching for mikrotik ROS 7 Used in promtail and grafana
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
Find all PHP short echo tags
PCRE2 (PHP >=7.3)
Find all short echo tags and convert to Laravel Blade echo brackets {{ }}
Submitted by
matasbi
-
a year ago
1
Multiline Address
PCRE2 (PHP >=7.3)
Match multiline address formats
Submitted by
anonymous
-
a year ago
1
IP matching
PCRE2 (PHP >=7.3)
using \g to match repeated pattern
Submitted by
binger
-
a year ago
1
template string match
PCRE2 (PHP >=7.3)
match like this: ${foo}
Submitted by
anonymous
-
a year ago
1
regex that allows digits, space and hyphen
PCRE2 (PHP >=7.3)
regex that allows digits, space and hyphen
Submitted by
Animesh
-
a year ago
1
匹配markdown代码块
PCRE2 (PHP >=7.3)
组1:编程语言 组2:代码
Submitted by
若小仟
-
a year ago
1
File path parser
PCRE2 (PHP >=7.3)
Parses a file path into 3 capture groups: 1: path (may be empty) 2: filename (required) 3: extension (may be empty)
Submitted by
Perigoso
-
a year ago
1
Get type from calypso XML
PCRE2 (PHP >=7.3)
How to get type from calypso XML by key words
Submitted by
AlexMia
-
a year ago
1
IPv6 前缀格式
PCRE2 (PHP >=7.3)
IPv6 前缀格式
Submitted by
anonymous
-
a year ago
1
jerry_eth_match
PCRE2 (PHP >=7.3)
jerry_eth_match
Submitted by
rin
-
a year ago
1
mikrotik rsc to github
PCRE (PHP <7.3)
convert mikrotik rsc to one line as every rule
Submitted by
sanekmihailow
-
a year ago
1
test
PCRE2 (PHP >=7.3)
mail, pass, ...
Submitted by
anonymous
-
a year ago
1
one line html
PCRE2 (PHP >=7.3)
matches html
Submitted by
anonymous
-
a year ago
1
Test email for 99% of possible issues
PCRE2 (PHP >=7.3)
This is written using several other developer's work with my tying it all together and adding a few small requirement of my own. allows Latin characters (“a” - “z” or “A” - “Z”) within the email address. permits digits (0 - 9) in the email address. enforces domain part restrictions. allows hyphen...
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
Email Validation General (miscrosoft email rule)
PCRE2 (PHP >=7.3)
^([a-z0-9]+(?:([-]+|[.])[\w-]+|[-]))@([a-z0-9]+(?:([.-]\w+)\.)[a-z]{2,13})$
Submitted by
Riki
-
a year ago
1
...
31
32
33
34
35
...
606
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(?<month>
\S
{3}
)?
{1,2}
(?<day>
\S
+
)
(?<time>
\S
+
)
(?<hostname>
\S
+
)
(?<process>
.
+
?
(?=
\[
)
|
.
+
?
(?=
)
)
[^
a
-
zA
-
Z0
-
9
]
(?<pid>
\d
{1,7}
|)
[^
a
-
zA
-
Z0
-
9
]
{1,3}
(?<info>
.
*
)
$
/
gm
Open regex in editor
Description
Parses the auth log on standard linux machines into useful groups.
Submitted by
Jason King
-
2 years ago
(Last modified 2 years ago)