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
GraphQL C# helper substitution pattern
PCRE2 (PHP >=7.3)
No description
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
Commit linter
PCRE (PHP <7.3)
Regex to lint the first line of a commit
Submitted by
anonymous
-
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
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
1
...
447
448
449
450
451
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
(?:
[
0
-
9
]
{1,3}
\.
){3}
[
0
-
9
]
{1,3}
)
\s
(
(?:
[
0
-
9
]
{1,3}
\.
){3}
[
0
-
9
]
{1,3}
)
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago