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,040 community submitted regex patterns...
1
any tag
PCRE (PHP <7.3)
regex used to search for any tag (both html and xml)
Submitted by
dasmi
-
9 years ago
1
testing
PCRE (PHP <7.3)
testing
Submitted by
Zeddy
-
9 years ago
-2
3~4 length password
PCRE (PHP <7.3)
1.the string can be of lenght 3 or 4 2.the string should start with a alphabet 3.the string should contain atleast one alphabet and number.
Submitted by
Kerwin
-
9 years ago
0
qwqwe
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
File name without extension from linux path
PCRE (PHP <7.3)
If given a linux file path match the filename without the extension. It extracts FileNameWithoutExtension into its own match group so that you can use it in things like Logstash Grok.
Submitted by
Chris Magnuson, by combining other peoples starting points
-
9 years ago
0
java
PCRE (PHP <7.3)
09-10-2015_17:12:59.536_PDT] [ERROR] - [FxG5vfvSFN] [family.gibson@att.net@slid.dum] [] [common] [AbstractServiceLayerBridge] - Service Exception while invoking [ServiceLayer API]: UsageService.getFiberUsageDetails with [TransactionId]: COLDAPP_WS_380920115_144187749927000022_p9mbm20_0 java.lang.ref...
Submitted by
anonymous
-
9 years ago
1
one decimal validation
ECMAScript (JavaScript)
this regular expression allow numbers with one number from 1 to 5 and only one decimal value Onlys accept numeric values from 1.0 to 5
Submitted by
anonymous
-
9 years ago
1
Cookie Value Finder By name
PCRE (PHP <7.3)
When using javascript to get a cookie value by its name, Get the cookie string by document.cookie Use this pattern to get the proper value. Just replace the cookie name in my pattern. Use 1st or 2nd group(this is only used when your cookie name is last in the string)
Submitted by
khpatel4991
-
9 years ago
1
Google Plus user profile url pattern
PCRE (PHP <7.3)
Pattern that check your string to match Google Plus user profile URL.
Submitted by
JSC Quatrodev
-
9 years ago
2
Twitter user profile url pattern
PCRE (PHP <7.3)
Pattern that check your string to match Twitter user profile URL.
Submitted by
JSC Quatrodev
-
9 years ago
0
Facebook profile URL pattern
PCRE (PHP <7.3)
Pattern that check your string to match Facebook user profile URL.
Submitted by
JSC Quatrodev
-
9 years ago
0
TimeRegex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Xml Start Cleaner
ECMAScript (JavaScript)
Selects Xml version and Encoding and whitespaces
Submitted by
Edward Coughlan
-
9 years ago
0
Phone number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Password regex
PCRE (PHP <7.3)
Password pattern looking for strength. Between 8 and 16 characters. At least: 1 UpperCase. 1 LowerCase. 1 SpecialCase. 1 Number
Submitted by
morethansimplycode.blogspot.com.es
-
9 years ago
1
Email Id Validity Checker
PCRE (PHP <7.3)
Checks whether given text is valid Email Id,check for top level domains which are 2-3 in length,does not accept numbers for top level domains
Submitted by
Debanjan Das
-
9 years ago
-3
Html Tags
ECMAScript (JavaScript)
Matches HTML structure
Submitted by
sagar
-
9 years ago
1
ip (CIDR) check
PCRE (PHP <7.3)
from 0.0.0.0 to 255.255.255.255
Submitted by
Marcel Bayer
-
9 years ago
2
IPv4 Validator
Python
no description available
Submitted by
dannyo
-
9 years ago
1
...
806
807
808
809
810
...
902
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
(
[
a
-
zA
-
Z_
]
\w
+
|
[
a
-
zA
-
Z
]
\w
*
|
\[
\s
*
[
a
-
zA
-
Z_
]
\w
+
\s
*
\]
|
\[
\s
*
[
a
-
zA
-
Z
]
\w
*
\s
*
\]
)
\s
*
\[
\s
*
[
'"
]
(
[
a
-
zA
-
Z_
]
\w
+
|
[
a
-
zA
-
Z
]
\w
*
)
[
'"
]
\s
*
\]
/
gm
Open regex in editor
Description
finds and replaces square bracketed string literals with period and the field name
Submitted by
Andrew Stevens
-
a year ago
(Last modified a year ago)