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 9,560 community submitted regex patterns...
0
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
File name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
YouTube Video ID + URL validator
PCRE (PHP <7.3)
Verifies YouTube video links AND pulls the video ID from them in a matching group. Works with all capitalizations. It also matches the WHOLE link but sorts the video ID into a group. Works with JavaScript, PHP and Python. (Not tested with any other Regex engine) ...
Submitted by
Billy Venner
-
10 years ago
0
brian
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Port mapping
PCRE (PHP <7.3)
no description available
Submitted by
yord
-
10 years ago
0
Matching lines that starts with -
PCRE (PHP <7.3)
It may be useful inorder to replace those lines with li
Submitted by
Said Bakr
-
10 years ago
0
Any mail address
PCRE (PHP <7.3)
Any mail address
Submitted by
Himalay
-
10 years ago
0
Match IP (ipv4) addresses: [0.0.0.0]-[255.255.255.255]
PCRE (PHP <7.3)
Matches ranges from 0-255 for all four octets. Extra leading or trailing '.' invalidate the match, as do values > 255.
Submitted by
OnlineCop
-
9 years ago
0
media info parser
PCRE (PHP <7.3)
This regex can be used to parse the "general", "video" or "audio" stream metadata returned by the mediainfo.dll inform() call.
Submitted by
J.T. Taylor
-
9 years ago
0
Matches dash-seperated terms in.
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
trim IP
PCRE (PHP <7.3)
find leading zeros in ipv4 adresses
Submitted by
anonymous
-
9 years ago
0
Spain mobile phone numbers
PCRE (PHP <7.3)
Matches current mobile telephone numbers in Spain.
Submitted by
Carlos Interactive3g
-
9 years ago
0
Portugal mobile phone numbers
PCRE (PHP <7.3)
Matches current mobile phone numbers in Portugal
Submitted by
Carlos Interactive3g
-
9 years ago
0
Phone numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Find li tag with "word"
PCRE (PHP <7.3)
Find li tag with "word"
Submitted by
Sazar
-
9 years ago
0
Match PHP define
PCRE (PHP <7.3)
Matches PHP define("CONSTANT", "VALUE)
Submitted by
xZero
-
9 years ago
0
Select Topmost HTML Tags
PCRE (PHP <7.3)
no description available
Submitted by
Guilherme C. Souza
-
9 years ago
0
Get specific <span> tag
PCRE (PHP <7.3)
Get an specific html tag and return his content
Submitted by
Ivan Milazzotti
-
9 years ago
0
French telephone number
PCRE (PHP <7.3)
Match french telephones numbers. Allows space, dot and dash between pairs of numbers.
Submitted by
bsymon
-
9 years ago
0
purge creo model
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
17
18
19
20
21
...
478
Community Library Entry
3
Regular Expression
.NET 7.0 (C#)
@"
\w
+
\(
[^
()
]
*
(
(
(?'parenthesesPair'
\(
)
[^
()
]
*
)+
(
(?'-parenthesesPair'
\)
)
[^
()
]
*
)+
)*
(?(parenthesesPair)
(?!
)
)
\)
"
gm
Open regex in editor
Description
Match any layer bracket pair
Submitted by
Yakumo Yukari
-
3 years ago