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 2,760 community submitted regex patterns...
1
gPat
PCRE2 (PHP >=7.3)
This is pre-built Global Pat for FortiSiem
Submitted by
Ken
-
3 years ago
1
Nginx Error Log Parser
PCRE2 (PHP >=7.3)
Parse nginx error logs with tags
Submitted by
anonymous
-
3 years ago
1
Email Match
PCRE2 (PHP >=7.3)
matches on emails.. try it
Submitted by
Singh
-
3 years ago
1
MyKad / Passport
PCRE2 (PHP >=7.3)
This allows only the specified characters to be a valid MyKad or Passport Number in Malaysia.
Submitted by
Munirul Haikal
-
3 years ago
1
Grabbing custom structure from markdown
PCRE2 (PHP >=7.3)
:)
Submitted by
anonymous
-
3 years ago
0
Date Range Pattern
PCRE2 (PHP >=7.3)
Patternmatching of several Daterange Patterns Quarter 2021-Q2 Range...
Submitted by
Stefc
-
3 years ago
1
same vowel start & end
PCRE2 (PHP >=7.3)
/^[aeiou].*[aeiou]$/
Submitted by
anonymous
-
3 years ago
1
Domain Validator
PCRE2 (PHP >=7.3)
Regex to validate domain/website
Submitted by
Amir hossein Karimi
-
3 years ago
1
Get first move and depth from Stockfish output
PCRE2 (PHP >=7.3)
Stockfish output contains longer form containing the square of departure. Buggy with anything other than pawn.
Submitted by
Stockcat
-
3 years ago
1
PHP PDO debugDumpParams parse as sql.
PCRE2 (PHP >=7.3)
解析php pdo 的 debugDumpParams 输出的数据。
Submitted by
anonymous
-
3 years ago
1
refactoring
PCRE2 (PHP >=7.3)
for refactoring Kotlin tests
Submitted by
nikita.bols
-
3 years ago
(Last modified 3 years ago)
1
Extract strings between 2 delimiters
PCRE2 (PHP >=7.3)
Extract strings between a delimiter (",") or between a tabulation and a cr Example : toto@gmail.com,yoda@testmail.fr,foo@dugenou.com This expression will return bold e-mails
Submitted by
anonymous
-
3 years ago
1
Imperva audit log regex
PCRE2 (PHP >=7.3)
Contains regex to parse the CockroachDB SQL audit log file
Submitted by
Lesley Miller
-
3 years ago
1
command df -T on linux
PCRE2 (PHP >=7.3)
command df -T on linux udev devtmpfs 65928068 0 65928068 0% /dev tmpfs tmpfs 13190576 304608 12885968 3% /run /dev/mapper/pve-root ext4 98559220 50337808 43171864 54% / tmpfs tmpfs 65952876 46800 65906076 1% /dev/shm...
Submitted by
Saulo Costa
-
3 years ago
(Last modified 3 years ago)
1
Custom Commit ReGex
PCRE2 (PHP >=7.3)
Custom Commit ReGex Test
Submitted by
Kewal Rathod
-
3 years ago
(Last modified 3 years ago)
1
Links
PCRE2 (PHP >=7.3)
Beginner way to highlight links
Submitted by
anonymous
-
3 years ago
1
Grab first sentence from multi-line text
PCRE2 (PHP >=7.3)
Using to extract PhpDoc summary. Note: PhpDoc must be trimmed at left (' ' and '*' are removed).
Submitted by
WinterSilence
-
3 years ago
1
Illumina sample ID regex
PCRE2 (PHP >=7.3)
regular expression for illumina sequencer sample ids. sample Ids are alpha numeric with no more than two dashes or underscores and no underscores or dashes in the beginning or end of the sample id.
Submitted by
anonymous
-
3 years ago
1
13-16 digit credit card
PCRE2 (PHP >=7.3)
Finds a number that is 13-16 digits long. Can have spaces or hyphens in between the numbers and will still be found.
Submitted by
Spencer Curtis
-
2 years ago
(Last modified 2 years ago)
1
Detect zoom meeting links
PCRE2 (PHP >=7.3)
Find zoom links in text
Submitted by
Artyom Ivanov
-
2 years ago
1
...
10
11
12
13
14
...
138
Community Library Entry
1
Regular Expression
Rust
r"
\b
[
(
]
?
(?P<areaCode>
\d
{3}
)
[
)
]
?
[
.-
]
(?P<phone>
\d
{3}
[
.-
]
\d
{4}
)
\b
"
gs
Open regex in editor
Description
not fully featured, but simple.
Submitted by
Jakersnell
-
a year ago