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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 15,000 community submitted regex patterns...
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
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 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
Cron
PCRE (PHP <7.3)
fr
Submitted by
anonymous
-
3 years ago
0
Grab ID
PCRE (PHP <7.3)
^
Submitted by
anonymous
-
3 years ago
0
tablespoons
Python
fasdgasdes
Submitted by
asffgsadd
-
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
Commit linter
PCRE (PHP <7.3)
Regex to lint the first line of a commit
Submitted by
anonymous
-
3 years ago
0
GodZeus
ECMAScript (JavaScript)
Tha endgame
Submitted by
Karel fouco
-
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
Phone Column Matcher
ECMAScript (JavaScript)
phone column matcher
Submitted by
anonymous
-
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
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
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 HTML tags from HTML string
ECMAScript (JavaScript)
Remove HTML tags from HTML string
Submitted by
hiroimono
-
3 years ago
1
Div shortcode [div]..[/div]
ECMAScript (JavaScript)
Converts the markdown shortcode for the dive element to the regular HTML: Example shortcode: [div id="bla" class="ups"]some multiple line text[/div]
Submitted by
Dux Linux
-
3 years ago
0
download file
ECMAScript (JavaScript)
get the name of download file
Submitted by
stefango
-
3 years ago
0
VALIDATE DOMAIN:PORT ADDRESS IN PYTHON3
Python
Port is optional
Submitted by
Avaray
-
3 years ago
0
url
PCRE (PHP <7.3)
match url
Submitted by
anonymous
-
3 years ago
0
正则表达式查找"key":"value"对
PCRE (PHP <7.3)
正则表达式查找"key":"value"对
Submitted by
hippopie
-
3 years ago
1
...
73
74
75
76
77
...
750
Ex1Tema1
0
Regular Expression
PCRE2 (PHP >=7.3)
/
[
1
-
9
]
{1,2}
[
\/
]
+
[
1
-
9
]
{1,2}
[
\/
]
+
[
1
-
9
]
{2,4}
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
3 years ago