Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 2,300 community submitted regex patterns...
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
ofsream open file C++
Python
match of.open("test.txt");
Submitted by
Денис суховерхов
-
8 years ago
2016-01-30 08:07
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
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
2016-02-19 10:48
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Tag Text
Python
Match text between html tags
Submitted by
Si
-
8 years ago
2016-02-25 04:29
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Find multiline links a HTML tag
Python
Find multiline links a HTML tag
Submitted by
CyberLight
-
8 years ago
2016-03-02 05:41
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
regular expression to match word starting with space
Python
no description available
Submitted by
anonymous
-
8 years ago
2016-03-22 10:53
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Replace Czech accents, Part 1
Python
The result of this put as input into part 2.
Submitted by
Premysl Karbula
-
8 years ago
2016-04-07 22:20
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
url
Python
no description available
Submitted by
oniro
-
8 years ago
2016-04-15 09:32
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Port validator
Python
Validates port numbers from 1 to 65535
Submitted by
Agustín Bouillet
-
8 years ago
2016-04-19 10:13
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
html image tags
Python
no description available
Submitted by
Thien Ho
-
8 years ago
2016-05-20 06:30
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
commit 1
Python
no description available
Submitted by
anonymous
-
8 years ago
2016-03-28 05:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
commit 2
Python
no description available
Submitted by
anonymous
-
8 years ago
2016-03-28 15:01
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
reg example
Python
no description available
Submitted by
horangs
-
8 years ago
2016-03-30 11:17
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Div Matching Test
Python
Div Matching Test
Submitted by
anonymous
-
8 years ago
2016-03-31 13:48
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
HiveQL query/comment splitter
Python
Splits a HiveQL line into query and comment sections.
Submitted by
anonymous
-
8 years ago
2016-03-31 22:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
rocola
Python
for #regex
Submitted by
ElGatoSaez
-
8 years ago
2016-04-02 03:20
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
date validation (yyyy-mm-dd)
Python
no description available
Submitted by
anonymous
-
8 years ago
2016-04-03 15:22
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
nombres y apellidos
Python
expresión para python.
Submitted by
davila vargas
-
8 years ago
2016-04-07 21:34
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Extract Variables from C# File
Python
no description available
Submitted by
Adam Short
-
8 years ago
2016-04-08 10:58
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Odd [abc] non-consecutive repeat
Python
Recognizes strings containing {a,b,c} an odd number of times that do not repeat the same letter twice in a row. Also recognizes null string.
Submitted by
anonymous
-
8 years ago
2016-04-09 05:12
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
German nouns
Python
Matches German nouns with "artikels"
Submitted by
Alper Kürşat @alpeer
-
8 years ago
2016-04-09 13:41
1
...
4
5
6
7
8
9
10
...
115
Password
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
^
(?=
.
*
[
A
-
Za
-
z
]
)
(?=
.
*
\d
)
[
A
-
Za
-
z
\d
$@$!%*?&#
]
{6,}
$
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Mohammed Elshaboury
-
10 months ago
2023-02-13 13:54