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,040 community submitted regex patterns...
1
IPv4 extraction regex
PCRE (PHP <7.3)
Looks bloated, but also validates that the address format is correct, i.e. no false-positives for 777.777.777.777
Submitted by
Jacob
-
9 years ago
1
Date
PCRE (PHP <7.3)
Valid Date format:
Submitted by
Daniel
-
9 years ago
1
Pull out percentages
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
DataPower Syslog
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
somente telefone
PCRE (PHP <7.3)
teste para validação de números de telefone
Submitted by
Mauricio Rocha
-
9 years ago
1
select folders after url
PCRE (PHP <7.3)
no description available
Submitted by
Mauricio Rocha
-
9 years ago
1
CSS3 color expressions
PCRE (PHP <7.3)
Up to spec as of 2016-03-16. You can choose whether to enforce industry-standard casing for keywords via the "i" flag, which is enabled by default. Note that both "currentcolor" and "currentColor" are common; the relevant spec uses "currentColor", but several browsers prefer "currentcolor".
Submitted by
Paul Buonopane @ NamePros
-
9 years ago
1
OFA values
PCRE (PHP <7.3)
either 99-99 or one looks more liek the OFA ones
Submitted by
anonymous
-
9 years ago
1
delete line numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
locationID PID4.1 custom
PCRE (PHP <7.3)
MRN add a letter in front
Submitted by
anonymous
-
9 years ago
1
IP Validation
PCRE (PHP <7.3)
Validate IP v4
Submitted by
anonymous
-
9 years ago
1
Thousands separator
PCRE (PHP <7.3)
Separate thousands in a number
Submitted by
anonymous
-
9 years ago
1
port range
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
advfirewall protocol
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
advfirewall localport
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
d
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
System names
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Time - 12 hour format
PCRE (PHP <7.3)
matches time in 12 hour format For Eg: 1a 1A 1p 1P...
Submitted by
Pooja Khorjuvekar
-
9 years ago
1
TestCsvProblme
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
TestCsvProblme
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
155
156
157
158
159
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
\w
{3}
\d
{2}
\d
{2}
:
\d
{2}
:
\d
{2}
)
(
[
a
-
z
]
+
)
(
[
\w\d
\[\]
]
+
)
:
(
.
*
)
$
/
gm
Open regex in editor
Description
Capture the date, host, message type, and message from the patterns in the log file.
Submitted by
Nicholas Tower
-
3 years ago