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 4,720 community submitted regex patterns...
1
https
PCRE2 (PHP >=7.3)
regex for url
Submitted by
anonymous
-
3 years ago
1
Search needle by position
PCRE2 (PHP >=7.3)
Searches for needle starting from an exact position
Submitted by
Volgers
-
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
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
contentful
PCRE2 (PHP >=7.3)
contentful
Submitted by
anonymous
-
3 years ago
0
legal
PCRE2 (PHP >=7.3)
legal
Submitted by
anonymous
-
3 years ago
0
1111
PCRE2 (PHP >=7.3)
czxdzxddzxvxcdvsdzvszdvszd
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/search/jo...
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" https:...
Submitted by
anonymous
-
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
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
Madmax plots
PCRE2 (PHP >=7.3)
Madmx plots
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
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
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
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
GraphQL C# helper substitution pattern
PCRE2 (PHP >=7.3)
No description
Submitted by
anonymous
-
3 years ago
1
more than 500 dollar detector
PCRE2 (PHP >=7.3)
it's brute force and messy, share a comment to simply remove redundancy
Submitted by
anonymous
-
3 years ago
1
Detect any integer larger than 499
PCRE2 (PHP >=7.3)
Glad this helps for some
Submitted by
Wallik
-
3 years ago
1
...
122
123
124
125
126
...
236
Lab 6 es 2.3
0
Regular Expression
PCRE2 (PHP >=7.3)
/
from:
\s
*
"
+
\s
*
[
a
-
zA
-
Z
]
*
+
\s
*
"
\s
*
,
\s
*
to:
\s
*
"
\s
*
[
a
-
zA
-
Z
]
*
\s
*
"
\s
*
,
\s
*
content:
\s
*
"
\s
*
ping
|
pong
*
\s
*
"
\s
*
/
gm
Open regex in editor
Description
Carry a payload which is either ping or pong
Submitted by
anonymous
-
3 years ago