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
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 11,780 community submitted regex patterns...
2
PAN verification regex
PCRE (PHP <7.3)
Regex to verify PAN in India
Submitted by
Anirban
-
10 years ago
2
donotbackup
PCRE (PHP <7.3)
finding directories w/ donotbackup
Submitted by
anonymous
-
9 years ago
2
Finding a string along with a few other words
PCRE (PHP <7.3)
no description available
Submitted by
A.K. Asik
-
9 years ago
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
-
9 years ago
2
Route Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 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
-
9 years ago
2
paren strip test
PCRE (PHP <7.3)
paren strip test
Submitted by
marie bacuno
-
9 years ago
2
Dice Regex with Modifier
PCRE (PHP <7.3)
no description available
Submitted by
derek robati
-
9 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
-
9 years ago
2
Match domain part in Http(s) URLs
PCRE (PHP <7.3)
no description available
Submitted by
Nilratan
-
9 years ago
2
Dim name
PCRE (PHP <7.3)
Gets all variable names
Submitted by
Tyrone Moodley
-
9 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
-
9 years ago
2
Gentoo atom parsing
PCRE (PHP <7.3)
no description available
Submitted by
selurvedu
-
9 years ago
2
Filtrar inicio string
PCRE (PHP <7.3)
Filtrar inicio da string por BRN ou 201
Submitted by
Leandro
-
9 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
-
9 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
Country calling codes
PCRE (PHP <7.3)
Parses countries list from https://countrycode.org/
Submitted by
anonymous
-
9 years ago
2
CSS Minimizer
PCRE (PHP <7.3)
Takes any valid CSS and minimizes it, removing comments and whitespace. Can be called with something like PHP's preg_replace() to dynamically minimize css files.
Submitted by
skoskie
-
9 years ago
2
Получение числа, которым заканчивается строка
PCRE (PHP <7.3)
no description available
Submitted by
summer_rain
-
9 years ago
2
regex 1 or more json array
PCRE (PHP <7.3)
no description available
Submitted by
me
-
9 years ago
1
...
11
12
13
14
15
...
589