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 5,860 community submitted regex patterns...
0
dir_linux
Python
check dir is illegal or not
Submitted by
anonymous
-
3 years ago
0
MR Title validation
Python
-
Submitted by
alkov
-
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
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
VALIDATE DOMAIN:PORT ADDRESS IN PYTHON3
Python
Port is optional
Submitted by
Avaray
-
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
Match a phone number formatted using North American Numbering Plan (NANP)
Python
More Details: https://exercism.org/tracks/python/exercises/phone-number
Submitted by
Nishant Misra
-
3 years ago
(Last modified 3 years ago)
0
GodZeus
ECMAScript (JavaScript)
Tha endgame
Submitted by
Karel fouco
-
3 years ago
0
Super Gene Voice of God
Python
Isolates lines to format from the popular Super Gene web novel
Submitted by
max
-
3 years ago
0
tablespoons
Python
fasdgasdes
Submitted by
asffgsadd
-
3 years ago
0
PEM X509 Certificate Header
ECMAScript (JavaScript)
Match X509 pem file headers https://github.com/openssl/openssl/blob/master/include/openssl/pem.h
Submitted by
clarkttfu
-
3 years ago
(Last modified 3 years ago)
0
Add string after matching 1st occurence, every line
Golang
Regex adding a string (here vs_) after 1st matching occurence (of reflectance_\d_).
Submitted by
Nikos Alexandris
-
3 years ago
0
PEM Key File Headers
ECMAScript (JavaScript)
Match OpenSSL defined PEM key headers https://github.com/openssl/openssl/blob/master/include/openssl/pem.h
Submitted by
clarkttfu
-
3 years ago
0
ATST_RESTRICTED
ECMAScript (JavaScript)
ATST_RESTRICTED
Submitted by
anonymous
-
3 years ago
1
...
119
120
121
122
123
...
293
Community Library Entry
0
Regular Expression
Python
r"
(?<=
^
\*
page
)
(?P<pg>
[
\d
]
{1,3}
)
|
(?<!
;
)
(?P<txt_a>
[
]
.
*
)
(?=
\[
lr
\]
\n
)
|
(?<!
;
)
(?P<txt_b>
^
[
]
{2}
.
*
)
|
(?P<txt_c>
@align
anchor=
\"
center
\"
text=
.
+
)
|
(?P<txt_d>
^
[^
*@[;
]
.
+
)
"
gm
Open regex in editor
Description
Attempting to parse Fate/Stay Night scripts nicely
Submitted by
anonymous
-
a year ago