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...
0
Shortening Names: Erase everything between a white space and a comma.
PCRE (PHP <7.3)
This is useful for shortening names.
Submitted by
mglezsauri@gmail.com
-
8 years ago
0
Shorten Names: Delete everything but the First and Second Last Name
PCRE (PHP <7.3)
Useful for deleting extra last names before a comma.
Submitted by
mglezsauri@gmail.com
-
8 years ago
0
Shorten Names: Keep only one name before a comma.
PCRE (PHP <7.3)
no description available
Submitted by
mglezsauri@gmail.com
-
8 years ago
0
Больше 250
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Match array parenthesis (without internal parentheses) and replace to square brackets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
VID file prognose
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Replace Array to Square Brackets with TableIdentifier situation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Match Apache log line
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Trim string
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Mercedes-Benz redirection rules
PCRE (PHP <7.3)
Redirect a model to a new page, any language, any country. Desktop and mobile website. You might need to remove backslash in Umbraco redirect file
Submitted by
anonymous
-
8 years ago
0
Lockbox Sätze
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Match Date strings in email body
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Shorten Names: Abbreviate everything before and after DE or DEL
PCRE (PHP <7.3)
no description available
Submitted by
mglezsauri@gmail.com
-
8 years ago
0
Shorten Names: Use the positive lookahead ?= to match groups of that represent last names and first letters of the first name.
PCRE (PHP <7.3)
no description available
Submitted by
mglezsauri@hotmail.com
-
8 years ago
0
Lab2-1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
exclude sub path names
PCRE (PHP <7.3)
helper rule for: to combine black and whitelist expressions this one acts as blacklist
Submitted by
anonymous
-
8 years ago
0
get folder from link
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Filename from path
PCRE (PHP <7.3)
sample string /shared/logs/NONPR/btlp006249/wls/8.1/P/logs/applications/usageMeter-webservice-1.0.log
Submitted by
anonymous
-
8 years ago
0
Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Twitter Lat/Lon Coordinate Extraction
PCRE (PHP <7.3)
This extracts latitude and longitude from a Tweet pulled through the public API.
Submitted by
Ed Fullman
-
8 years ago
1
...
400
401
402
403
404
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
\b
#
[
a
-
f0
-
9
]
{6}
\b
/
gmi
Open regex in editor
Description
Checks if a string contains a hex code
Submitted by
anonymous
-
3 years ago