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 14,260 community submitted regex patterns...
2
File name without extension from linux path
PCRE (PHP <7.3)
If given a linux file path match the filename without the extension. It extracts FileNameWithoutExtension into its own match group so that you can use it in things like Logstash Grok.
Submitted by
Chris Magnuson, by combining other peoples starting points
-
9 years ago
2
update match
PCRE (PHP <7.3)
no description available
Submitted by
ozarzu
-
9 years ago
2
Apache2 Access Log parsing
PCRE (PHP <7.3)
This breaks down an Apache2 access log into 9 parts. I use this for analyzing content in my webserver logs.
Submitted by
Kevin Loverde
-
9 years ago
2
English-Hungarian (non-/)obfuscated email adresses
PCRE (PHP <7.3)
Finds email addresses even when cleverly obfuscated in both english and hungarian
Submitted by
WolfyD
-
9 years ago
2
mask the credit card number
PCRE (PHP <7.3)
no description available
Submitted by
vj
-
9 years ago
2
Franklin Regex
Python
Testing Franklin related regex matching cases.
Submitted by
Arthur
-
9 years ago
2
Email Domain Regex
PCRE (PHP <7.3)
A pattern to match the email domain suffix
Submitted by
doug
-
9 years ago
2
Get consecutive capitalized words
PCRE (PHP <7.3)
"Bank Negara Malaysia", "1Malaysia Development Bhd"
Submitted by
aizu
-
9 years ago
2
Ontario Licence Class Combinations
Python
In Ontario, Canada, license classes are combined on the drivers license. This regex will parse out individual classes from the combination.
Submitted by
Gregory Holley
-
9 years ago
2
5
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
yowsup-cli message parsing
Python
This pattern parses the yowsup-cli message output to recover (otherwise lost) messages. Current yowsup version: v2.4
Submitted by
kerel
-
9 years ago
2
YouTube Iframe parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
find numbers with 2 commas
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Any variable between @
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Iranian National Code Pattern
PCRE (PHP <7.3)
Iranian National Code aka Code Melli
Submitted by
Saeed Tabrizi
-
9 years ago
2
IP with Subnet
PCRE (PHP <7.3)
IP address with Subnet
Submitted by
Matt Masse
-
9 years ago
2
IRC protocol global parsing
PCRE (PHP <7.3)
prefix (IRC protocol prefix parsing) command parameters (IRC protocol arguments parsing)
Submitted by
kerosene2000
-
9 years ago
2
1
PCRE (PHP <7.3)
no description available
Submitted by
в
-
9 years ago
2
Maritime Container Number Pattern
PCRE (PHP <7.3)
Pattern for container numbers. Without the digit verification of course.
Submitted by
Philippe Michiels
-
9 years ago
2
contents of square brackets
PCRE (PHP <7.3)
eg. test[test Inner] returns 'test inner'
Submitted by
anonymous
-
9 years ago
1
...
686
687
688
689
690
...
713
Post
1
Regular Expression
PCRE (PHP <7.3)
/
(?<!
=
\
)
(?<!
[
=&|%
]
)
(
\+
|
-
)
(?!
\1
|
[
=
]
)
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
10 years ago