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
Community Patterns
Search among 2,280 community submitted regex patterns...
1
logical operators
Python
no description available
Submitted by
Nicolas
-
8 years ago
1
ofsream open file C++
Python
match of.open("test.txt");
Submitted by
Денис суховерхов
-
8 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
-
8 years ago
1
Tag Text
Python
Match text between html tags
Submitted by
Si
-
8 years ago
1
Find multiline links a HTML tag
Python
Find multiline links a HTML tag
Submitted by
CyberLight
-
8 years ago
1
regular expression to match word starting with space
Python
no description available
Submitted by
anonymous
-
8 years ago
1
Replace Czech accents, Part 1
Python
The result of this put as input into part 2.
Submitted by
Premysl Karbula
-
8 years ago
1
url
Python
no description available
Submitted by
oniro
-
8 years ago
1
Port validator
Python
Validates port numbers from 1 to 65535
Submitted by
Agustín Bouillet
-
8 years ago
1
html image tags
Python
no description available
Submitted by
Thien Ho
-
8 years ago
1
Path to devices
Python
no description available
Submitted by
Airam
-
10 years ago
1
example
Python
group matching
Submitted by
anonymous
-
10 years ago
1
torstatus.blutmagie.de list parser
Python
parse most column for tor exit nodes.
Submitted by
bandoche
-
10 years ago
1
auie
Python
auie
Submitted by
auie
-
10 years ago
1
Matching url
Python
no description available
Submitted by
anonymous
-
10 years ago
1
Month Day, Year match
Python
Match a date in the following Month Day, Year format: June 14, 2013
Submitted by
Drew
-
10 years ago
1
Match Date with Month spelled out
Python
no description available
Submitted by
Drew
-
10 years ago
1
ACL de tiempos en squidGuard
Python
Extrae las ALC de tiempos del archivos de configuración de squidGuard
Submitted by
VTacius
-
10 years ago
1
requirements
Python
Requirements format that needs to be parsed.
Submitted by
drobati
-
10 years ago
1
http://stackoverflow.com/questions/26108562/python-regex-trying-to-cre
Python
no description available
Submitted by
anonymous
-
10 years ago
1
...
5
6
7
8
9
...
114
Trim whitespace at beginning and/or end of a line
0
Regular Expression
Python
r"
^\s
*
(
\S.
*
\S
)
\s
*
$
"
gm
Open regex in editor
Description
identifies spaces at the beginning and end of lines. Can be used as a Trim function
Submitted by
Eric Hills
-
2 years ago