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 2,640 community submitted regex patterns...
1
BNF for specific URL schemes (httpurl) from rfc1738
Python
This regex represents the httpurl in BNF from rfc1738 (at topic 5). Reference:https://www.ietf.org/rfc/rfc1738.txt
Submitted by
Migueh
-
9 years ago
1
localhost ip's with port
Python
Matches localhost ip range with optional port capture: 127.X.X.X or 127.X.X.X:PORT ToDo: check valid ip address.
Submitted by
Rodrigo M. A.
-
9 years ago
1
Look Forward
Python
Between two strings.
Submitted by
Online Cop
-
9 years ago
1
Simple global regex
Python
Regex for finding tempratures in a text
Submitted by
anonymous
-
9 years ago
1
Currency Detector Python
Python
Currency Detector for Python
Submitted by
Joao Graca
-
9 years ago
1
Match parenthesis
Python
Matches anything wrapped in parenthesis. Can handle nested and consecutive sets of parenthesis.
Submitted by
Nic Roland
-
9 years ago
1
logical operators
Python
no description available
Submitted by
Nicolas
-
9 years ago
1
ofsream open file C++
Python
match of.open("test.txt");
Submitted by
Денис суховерхов
-
9 years ago
1
MAC address capturing
Python
Captures MAC addressess in any format: aa bb cc dd ee ff aa-bb-cc-dd-ee-ff aa:bb:cc:dd:ee:ff aabb.ccdd.eeff aabbccddeeff
Submitted by
Gilian
-
9 years ago
1
Tag Text
Python
Match text between html tags
Submitted by
Si
-
9 years ago
1
Find multiline links a HTML tag
Python
Find multiline links a HTML tag
Submitted by
CyberLight
-
9 years ago
1
regular expression to match word starting with space
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Replace Czech accents, Part 1
Python
The result of this put as input into part 2.
Submitted by
Premysl Karbula
-
9 years ago
1
url
Python
no description available
Submitted by
oniro
-
9 years ago
1
html image tags
Python
no description available
Submitted by
Thien Ho
-
8 years ago
1
Matching decimals in european format (dot as grouping separator, comma as decimal separator)
Java 8
A regex for validating decimal numbers in the European number format (in many parts of Europe at least, including Germany). A comma is used as a separator for the decimal number, a dot as a separator for thousand places.
Submitted by
Florian Drees
-
4 years ago
(Last modified 4 years ago)
-1
woop
Python
no description available
Submitted by
anonymous
-
10 years ago
0
Find email address in a string.
Python
no description available
Submitted by
anonymous
-
10 years ago
1
Strip ANSI escape characters
Python
no description available
Submitted by
anonymous
-
11 years ago
1
sad smiley
Python
looks for a sad smiley with a backslash
Submitted by
@barraponto
-
10 years ago
1
...
124
125
126
127
128
...
132
Community Library Entry
1
Regular Expression
Python
r"
(?P<sender>
sender
\d
+
)
postfix
.
[^
-
]
*
-
(?P<ip>
[^
/,
]
*
)
/
[^
:
]
*
:
(?P<queue>
[^
]
+
)
:
(
from
|
to
)
=<
(?P<login>
[^
@
]
*
)
@
(?P<domain>
[^
\.
]
*
)
[^
>
]
*
>
.
*
(?:
status=
)
(?P<status>
\w
+
)
"
g
Open regex in editor
Description
get ip identifier, queue name, email domain and status from postfix log
Submitted by
kglod
-
9 years ago