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 12,840 community submitted regex patterns...
0
TN, get id from url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
PASSPORT
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Extract IIS Site Name and ID From Web-Binding
PCRE (PHP <7.3)
Extract Site Name and ID from the Web-binding information in the ItemXPath field
Submitted by
anonymous
-
5 years ago
0
If x; => if (x){
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Global => public static
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Field => public
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
if (x=x) => if (x==x)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
IPv4 and MAC addresses
PCRE (PHP <7.3)
Match tokens that are either IPv4 addresses or MAC addresses (three formats)
Submitted by
anonymous
-
5 years ago
0
Read Music Directory
PCRE (PHP <7.3)
Can be used to read a file with a list of songs or read a directory of songs for the artist, song title, and the songs format. Assuming there are named in that exact order (i.e. Artist - Title.format) Example: demon.devin - deception.mp3
Submitted by
anonymous
-
5 years ago
0
Autogen PEH Headend
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
VSCode DecorationRenderOptions docs formatting
PCRE (PHP <7.3)
k
Submitted by
anonymous
-
5 years ago
0
func x, x => func (x, x)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
func x, x => func (x, x)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
func => BM.func
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
class(x) => (class)x
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
func => tDraw.func
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
block end => } // block end
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Else => } else {
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Else => } else {
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Local x => int x
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
...
521
522
523
524
525
...
642
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
(?:
[
A
-
Za
-
z0
-
9+
]
+
)
(?:
[
._-
]
{1}
[
A
-
Za
-
z
]
+
)*
)
(
[
._-
]
{1}
(?:
[
+
-
_
\d
A
-
Za
-
z.
]
*
)*
)*
$
/
gm
Open regex in editor
Description
Splitting Additionalname in Basename and Specification
Submitted by
JK
-
a year ago
(Last modified a year ago)