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 9,520 community submitted regex patterns...
2
log4j log parsing
PCRE (PHP <7.3)
This pulls out all the fields in a log4j field. Suitable for use in a Logstash Grok pattern or similar
Submitted by
Robin Kearney
-
10 years ago
1
Get all HTML tag names
PCRE (PHP <7.3)
no description available
Submitted by
Kostas Trichas
-
10 years ago
2
fail2ban real expression for w00tw00t
PCRE (PHP <7.3)
A real fai2ban expression for w00tw00t with alias substitution
Submitted by
MarcD
-
10 years ago
0
Page Hangs in Chrome/Shows TIMEOUT on regex101.com
PCRE (PHP <7.3)
I have a regex like this: /^(A-Za-z0-9)([\.\_]?[A-Za-z0-9-]+)(\.[A-Za-z]{2,6})+(\/A-Za-z+)*$/ and I want to test the string like: webmail.google.com.qqqqqqqqqqqqqqqqqqq....... But it shows TIMEOUT. I know that string is invalid for given regex. But I do this because when I input this string and ma...
Submitted by
sam
-
10 years ago
0
Get all header tag (<hn>) in html file
PCRE (PHP <7.3)
This regex get all header tag in html file with tag included
Submitted by
Aubin
-
10 years ago
0
Regex Mobile Number Validation Code
PCRE (PHP <7.3)
no description available
Submitted by
A.K. Asik
-
10 years ago
2
replace only inner text without tag element
PCRE (PHP <7.3)
no description available
Submitted by
A.K. Asik
-
10 years ago
1
sort -t "," -k4,4 -k1n,1 file_name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2
vk.com wall
PCRE (PHP <7.3)
Parse 123_123 http://vk.com/id82702078?w=wall82702078_3386 http://vk.com/wall82702078_3386 http://vk.com/club34073863?w=wall-34073863_28647 http://vk.com/wall-34073863_28647
Submitted by
by xzotix
-
10 years ago
2
PO Box Address Validation
PCRE (PHP <7.3)
no description available
Submitted by
mrferos
-
10 years ago
0
GUID
PCRE (PHP <7.3)
Dection of GUID
Submitted by
anonymous
-
10 years ago
2
#Set-Cookie:\\s+(?<cookie>[^=]+=[^;]+)#m regex explanation
PCRE (PHP <7.3)
no description available
Submitted by
Igor
-
10 years ago
2
Extract Metadata
PCRE (PHP <7.3)
no description available
Submitted by
kai_desu
-
10 years ago
3
URL with matching categories
PCRE (PHP <7.3)
Finds the protocol, subdomain, ((domain, extension)/ipaddress), port, filepath (split in path and filename), the route and the query string.
Submitted by
fps
-
10 years ago
2
Matches first word
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2
catch options
PCRE (PHP <7.3)
catch options
Submitted by
Marek R
-
10 years ago
1
periodic-digit-numbers
PCRE (PHP <7.3)
no description available
Submitted by
Wolf
-
10 years ago
1
Labels with version numbers
PCRE (PHP <7.3)
Quick studty of labels with version numbers
Submitted by
LC
-
10 years ago
1
E-Mail
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Number 0-100, 2 decimals
PCRE (PHP <7.3)
A number between 0 and 100 (including them) with up to two decimals. The decimal separator can be . or , . Usefull for percentage.
Submitted by
anonymous
-
10 years ago
1
...
14
15
16
17
18
...
476
Community Library Entry
0
Regular Expression
.NET 7.0 (C#)
@"
\w
+
\w
+
\(
OBJECT
\)
\@
[
a
-
z0
-
9
]
+
"
gm
Open regex in editor
Description
a
Submitted by
anonymous
-
a year ago