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,220 community submitted regex patterns...
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
-
10 years ago
0
Not Empty String
PCRE (PHP <7.3)
Match a not-empty string. A string with only spaces or no characters is an empty-string. When match something, mathc all the string with the exception of the eventually space at the and
Submitted by
Luca
-
10 years ago
2
Получение числа, которым заканчивается строка
PCRE (PHP <7.3)
no description available
Submitted by
summer_rain
-
10 years ago
1
dutch zipcode with named matching
PCRE (PHP <7.3)
no description available
Submitted by
Eelke van den Bos
-
10 years ago
2
regex 1 or more json array
PCRE (PHP <7.3)
no description available
Submitted by
me
-
10 years ago
1
ipv4 IP addressses, capturing private ranges
PCRE (PHP <7.3)
Capture 0.0.0.0-255.255.255.255 IP address octets. Capture private ranges, such as '169.254.' and '10.'
Submitted by
OnlineCop
-
10 years ago
1
decimal number validation
PCRE (PHP <7.3)
accepts 1; 1.1; 112315.23135
Submitted by
MS
-
10 years ago
1
username
PCRE (PHP <7.3)
Letras, Ñ, acentos, números, guión y barra baja
Submitted by
diegosanz
-
10 years ago
1
Slug
PCRE (PHP <7.3)
Matches alphanumeric slugs without repeating dashes
Submitted by
Óscar Enríquez
-
10 years ago
1
Get email info (2)
PCRE (PHP <7.3)
Get Gmail tag, user and domain of an email address. -- Fixed the bug that the label be obligatory
Submitted by
Matías Pizarro González
-
10 years ago
1
my apache2 access.log regex
PCRE (PHP <7.3)
google.com:80 212.111.203.171 - - [02/Mar/2015:10:27:04 +0000] "GET /css/style.css HTTP/1.1" 304 138 "http://google.com" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36"
Submitted by
marf
-
10 years ago
2
python:S117
PCRE (PHP <7.3)
Local variable and function parameter names should comply with a naming convention
Submitted by
anonymous
-
10 years ago
0
/[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Year regexp
PCRE (PHP <7.3)
regexp for year filtering
Submitted by
anonymous
-
10 years ago
2
Simple @user replacement
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2
credit card
PCRE (PHP <7.3)
Based on http://www.regular-expressions.info/creditcard.html This example includes test strings. This only validates the pattern, and not whether the credit card number passes a checksum validation. See the Luhn algorithm for details https://en.wikipedia.org/wiki/Luhn_algorithm...
Submitted by
Steve Piercy
-
10 years ago
1
ipv4 and ipv6
PCRE (PHP <7.3)
no description available
Submitted by
shri
-
10 years ago
2
Function Parameter Switcher
PCRE (PHP <7.3)
Switches the order of two functions in a parameter.
Submitted by
anonymous
-
10 years ago
2
better orf finder
PCRE (PHP <7.3)
don't use my older one
Submitted by
tnrich
-
10 years ago
2
JSON BizTalk schema output
PCRE (PHP <7.3)
To convert the BizTalk schema output to one string
Submitted by
Emiel Kool
-
10 years ago
1
...
26
27
28
29
30
...
461