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...
1
Removes C-like comments
Python
no description available
Submitted by
Gabriel Olivério
-
10 years ago
2
catch options
PCRE (PHP <7.3)
catch options
Submitted by
Marek R
-
10 years ago
3
Twitch URL Regex
Python
Can grab all kinds of valid twitch URLs.
Submitted by
Mio
-
10 years ago
1
NSE0(.*)\nNSE1\s+(.*)\nNSE2\s(.*)\nNSE3\s+(.*)kbps.*\nNSE4\s+(.*)\nNSE
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
Single Mustache
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
4
Complete imgur link regex
Python
This regex grabs all kinds of imgur links and groups them in meaningful names aswell. This way you have full flow-control in your python-scripts.
Submitted by
Mio
-
10 years ago
1
Pinguino regex
Python
Used for replace words from .pdl
Submitted by
anonymous
-
10 years ago
1
Google Sheets Reference Formula
ECMAScript (JavaScript)
Matches and extracts the relevant parts of reference formulas from Google Sheets. For instance: ='Test Sheet'!H$5
Submitted by
anonymous
-
10 years ago
1
get top level domain excluding ports
ECMAScript (JavaScript)
I need to get the top level domain from the request header but it can be in a vary ways.. how can I match but exclude parts I dont want to get ie. ports
Submitted by
nei
-
10 years ago
0
Match Linux File basename and pathname
PCRE (PHP <7.3)
Matches 2 groups - pathname and file basename, and will exclude anything on the end of the line that is not properly escaped.
Submitted by
Steve Sant
-
10 years ago
12
Remove Special Ascii Characters from unicode String
PCRE (PHP <7.3)
By Using this string you can just remove ascii special characters from a unicode string characters like ♥♥♥♥ ▓▒ and other non unicode letters.
Submitted by
Hummad Hassan
-
10 years ago
12
Find Reddit Threads
Python
Simply searches for the thread-id in any kind of valid reddit-URL.
Submitted by
Mio
-
10 years ago
2
Select all chars before last backslash
PCRE (PHP <7.3)
For selecting paths without filename
Submitted by
Me!
-
10 years ago
1
Search for Qualifications
PCRE (PHP <7.3)
This will identify M.D.'s and D.O.s, regardless of punctuation (within reason) and exclude similar matches (e.g., DMD)
Submitted by
anonymous
-
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
0
YouTube VideoID and ListID from URL
PCRE (PHP <7.3)
For embeding, replace with //www.youtube.com/embed/$3?list=$2$6
Submitted by
@rubenlopezgea
-
10 years ago
1
Indonesia Post Code
PCRE (PHP <7.3)
no description available
Submitted by
respeto
-
10 years ago
1
border syntax checker
PCRE (PHP <7.3)
Checks the css value for a border
Submitted by
Benjamin Weigt
-
10 years ago
1
Goto next code field
Python
Finds the next 'fieldish' part of the code like after equals or brackets or comma.
Submitted by
anonymous
-
10 years ago
1
lisp
PCRE (PHP <7.3)
match function names in defun constructs
Submitted by
anonymous
-
10 years ago
1
...
858
859
860
861
862
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
^
(
[
1
-
9
]
|
[
1
-
9
]
[
0
-
9
]
|
[
1
-
9
]
[
0
-
9
]
[
0
-
9
]
|
[
1
-
9
]
[
0
-
9
]
[
0
-
9
]
[
0
-
9
]
){4}
\d
{25}
[
0
-
9
]
{1}
\d
{12}
(
[
1
-
9
]
|
[
1
-
9
]
[
0
-
9
]
|
[
1
-
9
]
[
0
-
9
]
[
0
-
9
]
)
$
/
gm
Open regex in editor
Description
Validação de código de barras boleto padrão "FEBRABAN - Federação Brasileira de Bancos".
Submitted by
Rafaella Cintra
-
2 years ago
(Last modified a year ago)