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
Community Patterns
Search among 14,980 community submitted regex patterns...
0
Match square brackets with escape backslash symbols
PCRE (PHP <7.3)
This regex allows to match all in square brackets with ability to escape square brackets by using "\\"
Submitted by
anonymous
-
4 years ago
0
YouTube (Extract video ID)
PCRE (PHP <7.3)
Only validates (and extracts) a correct YouTube video ID
Submitted by
Wiliam Castilhos, Ramon Barros
-
4 years ago
0
DYN Listing Detail Pages with SEO URL
PCRE (PHP <7.3)
DYN Listing Detail Pages with SEO URL incoming URL examples: https://www.rogerholloway.com/listings/view/5330-carmel-crest-lane-charlotte-nc-homes-for-sale-3530458.html RewriteRule (?:^listings\/view\/)(?:.)-(\d+)(?!.\d)(?:\.html)$ https://www.rogerholloway.com/property-search/detail/93/$1 [R=302,L]
Submitted by
anonymous
-
4 years ago
0
DYN Listing Detail Pages from saved search
PCRE (PHP <7.3)
DYN Listing Detail Pages from saved search incoming URL examples: https://www.rogerholloway.com/listings/r/3557653/ outgoing URL is: https://www.rogerholloway.com/property-search/detail/93/3557653/ RewriteRule ^listings/r/([0-9]+)/$ https://www.rogerholloway.com/property-search/detail/93/$2/ [R=302,L]
Submitted by
anonymous
-
4 years ago
0
DYN Listing Detail Pages from saved search
PCRE (PHP <7.3)
DYN Listing Detail Pages from saved search incoming URL examples: https://www.rogerholloway.com/listings/r/3557653/ outgoing URL is: https://www.rogerholloway.com/property-search/detail/93/3557653/ RewriteRule ^listings/r/([0-9]+)/$ https://www.rogerholloway.com/property-search/detail/93/$2/ [R=302,L]
Submitted by
anonymous
-
4 years ago
0
Test
PCRE (PHP <7.3)
ádasd
Submitted by
anonymous
-
4 years ago
0
la magia de pino
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Regex to find all shortcodes in a string [example]content[another][/example]
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Regex to isolate a shortcode [example]content[/example]
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
JavaScript Email regex
ECMAScript (JavaScript)
Javascript regex to validate email address
Submitted by
anonymous
-
4 years ago
0
Clean website URL
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Group Name&Description Swift
PCRE (PHP <7.3)
Cambia de un alado a otro de "_" en y de un lado a otrode de " - " en
Submitted by
anonymous
-
4 years ago
0
Unary powers of two
PCRE (PHP <7.3)
no description available
Submitted by
github.com/dibasic
-
4 years ago
0
getQueries from CFC
PCRE (PHP <7.3)
Submitted by
anonymous
-
4 years ago
0
URL - use string between last 2 / to form new URL
PCRE (PHP <7.3)
used when saving a site locally This will replace internet links with local ones from the folder you've saved the site in.
Submitted by
anonymous
-
4 years ago
0
RegEx to remove hyphens between two search and found strings
PCRE (PHP <7.3)
Try a regex based on \G anchor for chaining matches to the desired starting point. (?<=\G(?!^)|clients_field_)(\w*)- Replace with what was captured inside the first capturing group. $1...
Submitted by
anonymous
-
4 years ago
0
SYM
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
SYMS
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
22 Jimmy
PCRE (PHP <7.3)
.+\.{a-z}+$
Submitted by
anonymous
-
4 years ago
0
xplane avandro get data
PCRE (PHP <7.3)
get data either by its dataref or by an index used by xplane avandro plugin
Submitted by
anonymous
-
4 years ago
1
...
518
519
520
521
522
...
749
Conventional Commit Footer
1
Regular Expression
PCRE (PHP <7.3)
/
^
(?<token>
[
\w
\-
]
+
|
BREAKING
CHANGE
)
(?<seperator>
:
|
#
)
(?<value>
.
*
?
(?=
^
(
[
\w
\-
]
+
|
BREAKING
CHANGE
)
(
:
|
#
)
)
)
/
gms
Open regex in editor
Description
Supports multi line value for git trailers with lookahead for beginning of next git trailer
Submitted by
Christos Cunning
-
3 years ago