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...
2
Extract Fields from Mailexpire
PCRE (PHP <7.3)
Given the HTML of an alias's control panel, apply the XPath "//span[@class='maintext']". The second result returned can be parsed by this regex to yield the most pertinent field names and their values.
Submitted by
Crumeniferus
-
10 years ago
2
Route Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2
Array formatting (serialized)
PCRE (PHP <7.3)
Check for correctly formatted array of this type: array( array('name'=>'War and Peace', 'year'=>1865), array('name'=>'Different Seasons', 'year'=>1982), )
Submitted by
oneperfectsunrise
-
10 years ago
2
paren strip test
PCRE (PHP <7.3)
paren strip test
Submitted by
marie bacuno
-
10 years ago
2
YouTube Embed Video & Playlist from URL
ECMAScript (JavaScript)
It gets the playlistID and the videoID to conform the embed URL from the video URL
Submitted by
@rubenlopezgea
-
10 years ago
2
Dice Regex with Modifier
PCRE (PHP <7.3)
no description available
Submitted by
derek robati
-
10 years ago
2
selectin multiple image pattern
Python
no description available
Submitted by
cool_jesus
-
10 years ago
2
filter noreply-ish e-mail addresses
PCRE (PHP <7.3)
no reply e-mail addresses don't want to receive a reply. Unfortunately, not all no reply e-mail addresses are formatted like noreply@domain.tld, so in order to catch as many of them as possible I made this regular expression which matches many forms of no reply e-mail addresses.
Submitted by
anonymous
-
10 years ago
2
Match domain part in Http(s) URLs
PCRE (PHP <7.3)
no description available
Submitted by
Nilratan
-
10 years ago
2
Dim name
PCRE (PHP <7.3)
Gets all variable names
Submitted by
Tyrone Moodley
-
10 years ago
2
File filtering by extension
PCRE (PHP <7.3)
You would like to scan a folder containing many files (Example : *.pb, *.pbi, *.pbp and *.pbf) and you are interested only by two type of files (example : *.pb and *.pbi). This expression will match only if extension match (in this case *.pb and *.pbi) otherwise no reaction. Feel free to change file...
Submitted by
StarBootics
-
10 years ago
2
Extract info from anime filename
ECMAScript (JavaScript)
no description available
Submitted by
Haellsigh
-
10 years ago
2
Gentoo atom parsing
PCRE (PHP <7.3)
no description available
Submitted by
selurvedu
-
10 years ago
2
suricata OSSIM regex-1
Python
no description available
Submitted by
anonymous
-
10 years ago
2
Find scripts or css URIs
ECMAScript (JavaScript)
Given script or link tags, find and extracts URIs, excluding the double quotes
Submitted by
Rodrigo Kaveski
-
10 years ago
2
Filtrar inicio string
PCRE (PHP <7.3)
Filtrar inicio da string por BRN ou 201
Submitted by
Leandro
-
10 years ago
2
Check if the title ends in is alid or not in java using regex
PCRE (PHP <7.3)
testing patterns http://stackoverflow.com/questions/30751885/check-if-a-string-ends-in-is-valid-or-not-in-java-using-regex
Submitted by
Sriharsha
-
10 years ago
2
Parse "ipconfig /all" output and grab all MAC Adresses
PCRE (PHP <7.3)
Parse "ipconfig /all" output and grab all MAc Adresses.
Submitted by
j0inty
-
9 years ago
2
composer package
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
Country calling codes
PCRE (PHP <7.3)
Parses countries list from https://countrycode.org/
Submitted by
anonymous
-
9 years ago
1
...
863
864
865
866
867
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
.
*
[
~!@#$%^&*()
]
){2}
/
Open regex in editor
Description
The special characters are ~!@#$%^&*()
Submitted by
anonymous
-
10 years ago