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...
0
{NS} - Change *ngIf to [visibility]
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Match Microchip xc16 library's PIC24 and dsPIC3x linker script filenames
Python
Created for a Python program that needed to help recognize linker script filenames that resemble those for actual devices in Microchip's 16-bit DSC/MCU family of chips. The regex will match any such filename found in Microchip's xc16 support directory tree, as of xc16 v1.50. (I've actually tested i...
Submitted by
Galen Tackett
-
4 years ago
0
Youtube AdBlock Regexp
PCRE2 (PHP >=7.3)
From the whole list to single regexp with options
Submitted by
Harianto van Insulinde
-
4 years ago
(Last modified a year ago)
1
Gitlab GraphQl query finder
PCRE2 (PHP >=7.3)
Searches for the first list element in a graphql query, which allows for filtering and pagination, except for the group node
Submitted by
Thomas Luijken
-
4 years ago
0
ukrainian university title + email regexp
Python
no description available
Submitted by
dilnix
-
4 years ago
0
Time
PCRE2 (PHP >=7.3)
no description available
Submitted by
Andrea Russo
-
4 years ago
0
validate password
ECMAScript (JavaScript)
no description available
Submitted by
blastz
-
4 years ago
0
match secrets in config file with one exp with 3 groups
PCRE2 (PHP >=7.3)
no description available
Submitted by
dilnix
-
4 years ago
0
email with domain exclusion - jimbolo
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
Currency to input
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
Rest URL Param 2
PCRE (PHP <7.3)
no description available
Submitted by
Raphael Quintao
-
4 years ago
(Last modified 4 years ago)
0
Versioned Git Branch
PCRE2 (PHP >=7.3)
Branch versions of the from Number.Number.Number
Submitted by
anonymous
-
4 years ago
0
Phone number pseudo-check (checks the minimum number of digits)
PCRE2 (PHP >=7.3)
7 digits in this case
Submitted by
Hohanoff
-
4 years ago
0
Parse URL then Breakdown into parts
ECMAScript (JavaScript)
Will parse a valid URL and break it down into its parts. Making it easier to handle for checking and anything else really in any given langage The following link is a hastebin example of the parsing in Java It will output the following https://haste.readonly.network/viheradehe.java...
Submitted by
ROMVoid95
-
4 years ago
0
DocRefIdType
PCRE2 (PHP >=7.3)
Een unieke naam ter identificatie van het document.
Submitted by
M Meerkerk
-
4 years ago
(Last modified 4 years ago)
0
Movie Titles
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
link files using bracket syntax -- vscode
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
Master Spark URL validation
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
XML pretty print
PCRE (PHP <7.3)
This is my attempt at using Regex to "pretty print" a poorly formatted xml file. So far it can indent the contents of a tag a single layer deep
Submitted by
Josh Clark
-
4 years ago
0
Match <a href=...> attributes containing certain words.
ECMAScript (JavaScript)
Matches all URLs inside of href attributes which start with "http(s)" and contain either "apply" or "applica".
Submitted by
Jan Prazak
-
4 years ago
1
...
235
236
237
238
239
...
902
Community Library Entry
2
Regular Expression
PCRE2 (PHP >=7.3)
/
(?P<host>
\d
{1,3}
.\d
{1,3}
.\d
{1,3}
.\d
{1,3}
)
(
\s
-
\s
)
(?P<user_name>
[
\w
-
]
*
)
(
\s
\[
)
(?P<time>
\w
*
\/
\w
*
\/
\d
{1,4}
:
\d
{1,2}
:
\d
{1,2}
:
\d
{1,2}
\s
-
\d
{1,4}
)
(
\]
\s
\"
)
(?P<request>
.
*
)
(
"
)
/
gm
Open regex in editor
Description
no description available
Submitted by
PepeRG
-
4 years ago