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
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
0
Select progress from given text
PCRE2 (PHP >=7.3)
https://regex101.com/r/bbccFV/1
Submitted by
anonymous
-
3 years ago
0
Separate Autocomplete Fields
ECMAScript (JavaScript)
Autocomplete Fields Regex
Submitted by
anonymous
-
3 years ago
0
Wordpress ShorCode capture
PCRE2 (PHP >=7.3)
Regex to capture shortcodes from wordpress post content
Submitted by
dares
-
3 years ago
1
...
770
771
772
773
774
...
902
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
^\d
{6}
(
18
|
19
|
20
)
\d
{2}
(
0
\d
|
10
|
11
|
12
)
(
[
0
-
2
]
\d
|
30
|
31
)
\d
{3}
[
\d
Xx
]
$
/
Open regex in editor
Description
身份证号(2代,18位数字),最后一位是校验位,可能为数字或字符X
Submitted by
anonymous
-
5 years ago