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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 9,420 community submitted regex patterns...
3
Proxy matcher
PCRE (PHP <7.3)
Matches proxies in ip:port format. Takes into account that octets cant start with a 0, and that octets that are not the first octet can be a 0 if there are no more numbers behind it.
Submitted by
Dank meme machine
-
8 years ago
3
Escherichia coli, partial genome simple coding region search
PCRE (PHP <7.3)
NC_000913.3 Escherichia coli str. K-12 substr. MG1655, patial genome
Submitted by
anonymous
-
8 years ago
3
Validación de numeros de teléfono
PCRE (PHP <7.3)
no description available
Submitted by
devsolarte@gmail.com
-
8 years ago
3
Get any positive integer
PCRE (PHP <7.3)
All real numbers can be divided into three categories: positive, negative and zero; Match all positive number Match: 2 9...
Submitted by
norihiori, Me-me
-
8 years ago
3
Song Splitter
PCRE (PHP <7.3)
Split an audio filename into a readable format for playlists (like jPlayer) assuming the audio file is named like the following: Artist - Song Title.mp3 Band Name - Track Title ft. Another Artist.m4a demon.devin - Faithless Angel (to no avail remix).mp3
Submitted by
demon.devin
-
8 years ago
3
Hostname validation
Golang
Validates subdomain, root domain, and wild card domains
Submitted by
AnonymousDapper
-
7 years ago
3
HSL(A) Color Matching
PCRE (PHP <7.3)
This allows for both hsl and hsla color patterns to be matched. hsla(50.5deg, .531%, .9%, 1.0) The hue can be matched without the word deg. Hue is from 0-360 Percentage allows for decimals. Percentage is from 0-100%...
Submitted by
anonymous
-
5 years ago
3
Full Best URL Regex Match
PCRE (PHP <7.3)
Best Full URL Regex to match URL, This is simple and can match 64K of url regex under 77ms Regex Matches All Below and more: https://example.domain http://example.domain...
Submitted by
divineniiquaye
-
3 years ago
3
Extract URL parts only named capturing groups
Golang
Extract URL parts only named capturing groups
Submitted by
dixanms
-
2 years ago
4
Phone number
PCRE (PHP <7.3)
no description available
Submitted by
Mark Landry
-
9 years ago
6
HTML tag stripper
PCRE (PHP <7.3)
This regex will identify all html start and end tags.
Submitted by
anonymous
-
9 years ago
8
Validate Base64 single-line string
PCRE (PHP <7.3)
no description available
Submitted by
ka.
-
11 years ago
9
Youtube ID match
PCRE (PHP <7.3)
This regex will match any Youtube video ID thrown at it and return one capturing group containing the ID.
Submitted by
Jacob Overgaard
-
10 years ago
9
only numbers
PCRE (PHP <7.3)
A string with only numbers in
Submitted by
Gotts
-
9 years ago
5
parsing CSV file
PCRE (PHP <7.3)
It correctly handles simple values, empty values, and quoted values with commas inside.
Submitted by
Viktor Lova aka nsinreal
-
9 years ago
5
Latitude,Longitude fetcher
PCRE (PHP <7.3)
Useful to work with GoogleMap API.
Submitted by
anonymous
-
9 years ago
5
ipv6
PCRE (PHP <7.3)
Match an ipv6 address
Submitted by
Frusty
-
8 years ago
6
Repair unquoted HTML attribute values
PCRE (PHP <7.3)
Usually MSWord HTML exports
Submitted by
Ka.
-
11 years ago
7
PAN CARD validation
PCRE (PHP <7.3)
checks for valid PAN card for Indian users.
Submitted by
karan thakkar
-
10 years ago
8
Date time Advanced
PCRE (PHP <7.3)
no description available
Submitted by
Mr.Neutro
-
10 years ago
1
...
464
465
466
467
468
...
471
xferlog parser (proftpd, ftpd, vsftpd, etc..)
3
Regular Expression
PCRE (PHP <7.3)
/
(?<time>
\w
{3}
\w
{3}
\d
{2}
\d
{2}
:
\d
{2}
:
\d
{2}
\d
{4}
)
(?<xferTime>
\d
*
)
(?<remoteHost>
\b\d
{1,3}
\.
\d
{1,3}
\.
\d
{1,3}
\.
\d
{1,3}
\b
)