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,020 community submitted regex patterns...
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
IPv4 address
PCRE (PHP <7.3)
matches valid ipv4 addresses
Submitted by
anonymous
-
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
0
Extract Twitter Hashtags
PCRE (PHP <7.3)
This regular expression extracts hashtags from the raw data.
Submitted by
anonymous
-
8 years ago
0
Twitter Hashtag Extraction
PCRE (PHP <7.3)
Extracts the latitude and longitude from the raw data.
Submitted by
anonymous
-
8 years ago
0
Extract Lat/Lon Baltimore Crime Data
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Extract Fields from Messages.app Selected Chat
PCRE (PHP <7.3)
Use AppleScript to get the Chat Description from the selected Chat. That is the source text for this RegEx. This RegEx extracts the following fields: • Buddy Name (or Phone# or Ref# if Buddy is NOT a Contact) • Last Message...
Submitted by
JMichaelTX
-
8 years ago
0
Email Check
PCRE (PHP <7.3)
Checks if a string contains an email address. Works for all email addresses.#
Submitted by
anonymous
-
8 years ago
0
iTunes Library file names for TV Shows convert to Infuse like style
PCRE (PHP <7.3)
Extract from iTunes TV Show file name season and episode numbers and episode name and convert to Infuse style. 3-01 Wait for It.mp4 => How I Met Your Mother S3E01 Wait for It.mp4
Submitted by
anonymous
-
8 years ago
0
Shorten Names:Find all the words in a string that start with a specific character.
PCRE (PHP <7.3)
Find all the words in a string that start with a specific character.
Submitted by
mglezsauri@gmail.com
-
8 years ago
1
...
74
75
76
77
78
...
901
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
\+
){0,1}
254
(
77
)
(
\d
{7}
)
$
/
gm
Open regex in editor
Description
MSISDN_VALIDATE_KENYA_TELKOM
Submitted by
tim-engnz
-
2 years ago