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 13,020 community submitted regex patterns...
0
Pattern-12r1
ECMAScript (JavaScript)
This pattern needs to validate serial number
Submitted by
Raj
-
3 years ago
0
Find Anchor Tags
ECMAScript (JavaScript)
finding all anchor tags to help with removing their href attribute
Submitted by
Cezer
-
3 years ago
0
Class atribute content
PCRE (PHP <7.3)
regular expression to pull all css classes from a html file.
Submitted by
emed
-
3 years ago
0
Validate CSS Names
PCRE (PHP <7.3)
Validate CSS Names
Submitted by
emed
-
3 years ago
0
iframe src url
ECMAScript (JavaScript)
Extract the URL (http(s) only) of a given iframe's src attribute.
Submitted by
Neill
-
3 years ago
(Last modified 3 years ago)
0
Yuque
Java 8
Yuque
Submitted by
anonymous
-
3 years ago
0
Skype name
ECMAScript (JavaScript)
regex to match skype name
Submitted by
anonymous
-
3 years ago
0
LinkedInURL Validation
ECMAScript (JavaScript)
It will validate linkedin profile url validation in client side. using javascript
Submitted by
Arumugam, MiPS
-
3 years ago
(Last modified 3 years ago)
0
正则表达式查找"key":"value"对
PCRE (PHP <7.3)
正则表达式查找"key":"value"对
Submitted by
hippopie
-
3 years ago
0
url
PCRE (PHP <7.3)
match url
Submitted by
anonymous
-
3 years ago
0
download file
ECMAScript (JavaScript)
get the name of download file
Submitted by
stefango
-
3 years ago
0
Remove HTML tags from HTML string
ECMAScript (JavaScript)
Remove HTML tags from HTML string
Submitted by
hiroimono
-
3 years ago
0
Canadian Postal Code
ECMAScript (JavaScript)
The postal code is a six-character code defined and maintained by Canada Post Corporation (CPC) for the purpose of sorting and delivering mail. The characters are arranged in the form ‘ANA NAN’, where ‘A’ represents an alphabetic character and ‘N’ represents a numeric character (e.g., K1A 0T6). The ...
Submitted by
Jonathan Lafleur
-
3 years ago
0
Remove leading zeros (on the left) on ipv4 (ip v4)
ECMAScript (JavaScript)
Regex to remove leading (on the left) zeros on ipv4 (ip v4) Source: https://autohotkey.com/board/topic/15491-regex-to-strip-leading-zeroes-out-of-an-ip-address-octet/
Submitted by
YMP
-
3 years ago
0
Match all dots except last one
ECMAScript (JavaScript)
Match all dots except last one
Submitted by
sagarpanchal
-
3 years ago
0
Phone Column Matcher
ECMAScript (JavaScript)
phone column matcher
Submitted by
anonymous
-
3 years ago
0
GodZeus
ECMAScript (JavaScript)
Tha endgame
Submitted by
Karel fouco
-
3 years ago
0
Commit linter
PCRE (PHP <7.3)
Regex to lint the first line of a commit
Submitted by
anonymous
-
3 years ago
0
Grab ID
PCRE (PHP <7.3)
^
Submitted by
anonymous
-
3 years ago
0
Cron
PCRE (PHP <7.3)
fr
Submitted by
anonymous
-
3 years ago
1
...
607
608
609
610
611
...
651
Extract brazilian DDD and phone number
-1
Regular Expression
PCRE (PHP <7.3)
/
(
\(
(
[^
)
]
*
)
\)
)
(
\s
?
)
(
(
[
0
-
9
]
{0,5}
)
(
\-
)?
(
[
0
-
9
]
{0,4}
)
)
$
/
g
Open regex in editor
Description
Extract brazilian DDD and phone number
Submitted by
Anderson Rodrigues
-
6 years ago