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 18,040 community submitted regex patterns...
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
Match all characters accept for those not accepted
PCRE2 (PHP >=7.3)
Pattern for validating a text area, to allow all characters except those in the regex pattern. An event listener checks entry on keyup, and displays error or success live in the bootstrap 5 HTML. if (field.name === "form_message") { const re = /#%^&*\/; if (re.test(field.va...
Submitted by
anonymous
-
3 years ago
0
find dk domains
PCRE2 (PHP >=7.3)
only finds dk domains in urls
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Madmax plots
PCRE2 (PHP >=7.3)
Madmx plots
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
0
Number valid for Ukraine phone
PCRE2 (PHP >=7.3)
(?=.*\+[0-9]{3}\s?[0-9]{2}\s?[0-9]{3}\s?[0-9]{4,5}$) \+ =обязательно + ввести [0-9]{3}\s? =вводить три цифры и разрешен пробел после [0-9]{2}\s? =вводить две цифры и разрешен пробел после [0-9]{3}\s? =вводить три цифры и разрешен пробел после...
Submitted by
anonymous
-
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
C# Add default xml comment to public class properties
PCRE2 (PHP >=7.3)
Converts this: public string? PropertyA { get; set; } To this: `/// /// PropertyA...
Submitted by
anonymous
-
3 years ago
0
rest api
PCRE2 (PHP >=7.3)
session key 생성 curl -k https://splunk_server_ip:8089/services/auth/login --data-urlencode username=admin --data-urlencode password=admin01! search query curl -k -H "Authorization: Splunk 9d3zIppergQSjJ2C0TPV8PZghZ5fdvZz_GcVihhHLEdbpaZQAttQ10s^joWS_UpKvEbgM4ck9wtN_5wn5xbFZv04nAX9_nQEiVxcf3S" http...
Submitted by
anonymous
-
3 years ago
0
test
PCRE2 (PHP >=7.3)
curl -k https://splunk_ip:8089/services/auth/login --data-urlencode username=admin --data-urlencode password=admin01! curl -k -H "Authorization: Splunk 9d3zIppergQSjJ2C0TPV8PZghZ5fdvZz_GcVihhHLEdbpaZQAttQ10s^joWS_UpKvEbgM4ck9wtN_5wn5xbFZv04nAX9_nQEiVxcf3S" https://splunk_ip:8089/services/sear...
Submitted by
anonymous
-
3 years ago
0
1111
PCRE2 (PHP >=7.3)
czxdzxddzxvxcdvsdzvszdvszd
Submitted by
anonymous
-
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
0
legal
PCRE2 (PHP >=7.3)
legal
Submitted by
anonymous
-
3 years ago
0
contentful
PCRE2 (PHP >=7.3)
contentful
Submitted by
anonymous
-
3 years ago
0
YouTube video URL to video ID
Python
This regex can match with a valid YouTube link and retrieve the video ID in one of the four capturing groups. Unfortunately, I couldn't manage to use a single capturing group, but there is no difference between all of them.
Submitted by
Lyroy TheToad
-
3 years ago
(Last modified 3 years ago)
0
Interesante
ECMAScript (JavaScript)
Obtener Texto
Submitted by
Asura
-
3 years ago
1
...
770
771
772
773
774
...
902
Community Library Entry
1
Regular Expression
Python
r"
(
(
http
|
https
)+
\:\/\/
)?
(
[
\w\d
-
]
+
\.
)*
[
\w
-
]
+
[
\.\:
]
\w
+
(
[
\/\?\=\&\#\.
]
?
[
\w
-
]
+
)*
\/
?
"
gm
Open regex in editor
Description
From any text identify a web url. File or ftp urls are not a part of the regex.
Submitted by
wongz - https://stackoverflow.com/a/63022807/326835
-
3 years ago