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 2,120 community submitted regex patterns...
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
2
Search for attributes
Python
A search attribues in a image tag.
Submitted by
Agustín Bouillet
-
8 years ago
2
SASS variables parser
Python
Parse SASS variables returning its variable name and properties.
Submitted by
Agustín Bouillet
-
8 years ago
2
exp1
Python
no description available
Submitted by
anonymous
-
8 years ago
1
html image tags
Python
no description available
Submitted by
Thien Ho
-
8 years ago
2
EclipseKeyword_2
Python
no description available
Submitted by
Rashmin
-
8 years ago
2
AliasMatch
Python
no description available
Submitted by
anonymous
-
8 years ago
2
Find PHP object variables
Python
Find PHP object variables, and replace them with (array)brackets.
Submitted by
The Milkman
-
8 years ago
2
Adress regex
Python
no description available
Submitted by
Ali
-
8 years ago
2
Password (4 Classes)
Python
1 Uppercase 1 lower case 1 number 1 not a number or letter
Submitted by
anonymous
-
8 years ago
2
IPv6 detection
Python
It's too large to match with all which seems like an IPv6. It's not perfect, but it's detects more valid IPv6 than some others regex.
Submitted by
Ajabep
-
8 years ago
2
.*(\d+).* Selects last number
Python
no description available
Submitted by
anonymous
-
8 years ago
2
Ansible Host Var checking
Python
We had an issue where the "hosts=some_var" value could cause mass deployments if the wrong value was passed through. Specifically a comma with nothing surrounding it (i.e. "hosts=,"). This regex will allow us to fail when certain characters are present.
Submitted by
anonymous
-
8 years ago
2
lottery data picker
Python
for azlottoapi
Submitted by
anonymous
-
4 years ago
2
IpAddress
Python
Ensure the ip address format is correct
Submitted by
aaa
-
4 years ago
2
Replace dotnet assembly versions
Python
Replaces both VB & C# AssemblyInfo files.
Submitted by
ankostis
-
3 years ago
(Last modified 3 years ago)
2
Extract parts of a URL on Python
Python
Extract parts of a URL on Python
Submitted by
dixanms
-
3 years ago
2
Lua Enhanced: +=
Python
Adds += to Lua.
Submitted by
anonymous
-
3 years ago
1
...
6
7
8
9
10
...
106
strip host port
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
.
*
)
:
\/\/
(
.
*
)
(
:
\d
+
)
\/
(
.
*
)
$
/
gm
Open regex in editor
Description
removes port number from URL
Submitted by
pc
-
a year ago