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 18,000 community submitted regex patterns...
0
Password Validator (8 Characters Max)
PCRE2 (PHP >=7.3)
8 characters long Must include capital letters Must include small letters Must include numbers Must include special characters NOTE: Can also use [[:punct:]] for special characters but it may not be supported by your regex engine.
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Therapi param type name fix
Java 8
This regex extracts only the param type and omits any prefixed annotations included in the name.
Submitted by
anonymous
-
3 years ago
0
Password in java
Java 8
password in java
Submitted by
anonymous
-
3 years ago
0
certificate
PCRE (PHP <7.3)
letters - numbers
Submitted by
anonymous
-
3 years ago
0
Exchange Address
ECMAScript (JavaScript)
Finds Telephone Exchange Address
Submitted by
anonymous
-
3 years ago
0
Mayne Way Entertainment
PCRE2 (PHP >=7.3)
Hi Everyone, I am Lahyan Djeh Mayne Way Entertainment Founder&CEO http://fbuy.me/v/lahyandjeh# www.maynewayent.com maynewayent.com/https://wa.me/c/254725444492
Submitted by
Lahyan Djeh
-
3 years ago
0
Regex Extrato
PCRE2 (PHP >=7.3)
Identificação do header do extrato, validando os códigos de banco FEBRABAN + Data + Agencia e Conta
Submitted by
Geraldo
-
3 years ago
0
C-SUITE
PCRE (PHP <7.3)
Match the C-SUITE acronyms
Submitted by
TLDR; The OS
-
3 years ago
0
Minecraft Color Code Regex
Java 8
Easy to remove minecraft color codes from strings.
Submitted by
Saniee
-
3 years ago
0
JS Parse rgb or rgba CSS string
PCRE2 (PHP >=7.3)
This will parse and give you the values of an RGB or RGBA CSS style.
Submitted by
Beau Beauchamp, WebTIGERS
-
3 years ago
0
Regex to match words or phrases in string but NOT match if part of a URL or inside <a> </a> tags
Python
Stack: https://stackoverflow.com/a/6009552/13023113
Submitted by
anonymous
-
3 years ago
0
Regex replace word in string if it is not a link
PCRE (PHP <7.3)
Stack: https://stackoverflow.com/a/31770688
Submitted by
anonymous
-
3 years ago
0
Pull Words from Sentence
Java 8
Simple little regex to pull words out of a sentence. Obviously \w+ exists, but this accounts for a few corner cases that would normally be missed. Things like let's or ten-four good-buddy.
Submitted by
Tony B.
-
3 years ago
0
my phone regex
PCRE (PHP <7.3)
Pattern means: Phone must start with 0 Length of Phone must be greater than or equal to 10 - 11 numbers Space or Special characters doesn't allow Character doesn't allow
Submitted by
anonymous
-
3 years ago
0
my full name regex
PCRE (PHP <7.3)
Pattern means: Name must start with characters Only lowercase and uppercase characters is allowed Allowed special character: space
Submitted by
anonymous
-
3 years ago
0
mysql slow log parse for aws log insights
ECMAScript (JavaScript)
Parse the CloudWatch mysql slowlog into coherent fields.
Submitted by
Frank Baxter
-
3 years ago
0
aaa
PCRE2 (PHP >=7.3)
aaa
Submitted by
anonymous
-
3 years ago
0
Text Search
ECMAScript (JavaScript)
Text Search
Submitted by
anonymous
-
3 years ago
0
Find between Quotes
ECMAScript (JavaScript)
Find between Quotes
Submitted by
anonymous
-
3 years ago
0
Domain from url
ECMAScript (JavaScript)
Domain from url
Submitted by
anonymous
-
3 years ago
1
...
755
756
757
758
759
...
900
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
#
Time:
\s
(?<timestamp>
.
*
)
\n
#
.
*
Id:
\s
(?<id>
.
*
)
\n
#
\s
Query_time:
\s
(?<duration>
[
\d
.
]
*
)
\s.
*
time:
\s
(?<lock_time>
[
\d
.
]
*
)
\s.
*
_sent:
\s
(?<returned>
\d
*
)
\s.
*
_examined:
\s
(?<searched>
\d
*
)
\n
(?<sql>
[
\s\S
]
*
)
/
gm
Open regex in editor
Description
Parse the CloudWatch mysql slowlog into coherent fields.
Submitted by
Frank Baxter
-
3 years ago