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...
1
CFF-definitions.reference.isbn
PCRE2 (PHP >=7.3)
Pattern for validating a definitions.reference.isbn value in the Citation File Format (CFF)
Submitted by
Stephan Druskat, Jurriaan H. Spaaks
-
3 years ago
1
How do i use regex in google data studio to extract text between two characters?
ECMAScript (JavaScript)
For Mike Griffin
Submitted by
anonymous
-
3 years ago
1
CFF-definitions.orcid
Python
Pattern for validating a definitions.orcid value in the Citation File Format (CFF)
Submitted by
Stephan Druskat, Jurriaan H. Spaaks
-
3 years ago
1
full url dissection
PCRE2 (PHP >=7.3)
any given url inside a text will be recognized and split into different groups: url (full url) scheme hostname (subdomain + domain + tld) port path...
Submitted by
ttschnz
-
3 years ago
1
Username Validation
ECMAScript (JavaScript)
Super simple, just checks for 5 or more letters/numbers/symbols.
Submitted by
Ryan Varley
-
3 years ago
(Last modified 3 years ago)
1
SoundCloud Link Verification
PCRE2 (PHP >=7.3)
SoundCloud doesn't have usernames in their URLs, but the user can customize their url with the following rules for what comes after soundcloud.com/: • Use only numbers, lowercase letters, underscores, or hyphens. • Profile URLs must not start or end with an underscore or hyphen....
Submitted by
Dylan
-
3 years ago
(Last modified 3 years ago)
1
link findall
Python
Submitted by
Kerem Göksu
-
3 years ago
1
URL check
ECMAScript (JavaScript)
What it does? The `RegExp tries to test if a url is valid or not according to Guildness for URL Display
Submitted by
javalsai
-
3 years ago
1
AXIO - Parsing debug:router command
PCRE2 (PHP >=7.3)
Parsing of a debug:router command output
Submitted by
anonymous
-
3 years ago
1
Pattern string
PCRE2 (PHP >=7.3)
Example of test I did do to company.
Submitted by
Claudio Santos
-
3 years ago
1
Match at least One upper, lower, number and Special char.
PCRE2 (PHP >=7.3)
Determines if string contains: 1 Uppercase 1 Lowercase 1 Number 1 Symbol
Submitted by
Rae
-
3 years ago
1
selects Bengali text
ECMAScript (JavaScript)
This selects Bengali using the script tag. It works in Javascript, using: text.split(/+/ug) or text.match(/[\p{Script=Bengali}]+/ug) This Regex was provided by Peter Seliger
Submitted by
anonymous
-
3 years ago
1
Phone Number Selector
ECMAScript (JavaScript)
Select a Phone Number with +98 or 0
Submitted by
Amir Hossein Khateri
-
3 years ago
1
Select PHP Block Code
PCRE2 (PHP >=7.3)
Select php block code , start to end.
Submitted by
amir hossein khateri
-
3 years ago
1
Email Address Validation
PCRE2 (PHP >=7.3)
This validate all most all email addresses.
Submitted by
anonymous
-
3 years ago
1
lsblk-output-regex
Golang
Trying to adapt this regex to support LVM.
Submitted by
anonymous
-
3 years ago
1
Brackets Items
PCRE2 (PHP >=7.3)
This REGEX, allow extract all words in brackets [].
Submitted by
anonymous
-
3 years ago
1
Absolute File Path Validation
ECMAScript (JavaScript)
Matches absolute file paths, such as C:\Users\username\Documents\filename.txt The path must contain a file and extension at the end
Submitted by
anonymous
-
3 years ago
1
Select Chapters and Bad Headers
PCRE2 (PHP >=7.3)
Selects and optionally replaces repetitive chapters, headers, and other sections with a dinkus. Does not select unique chapter titles. Useful for quickly cleaning literary datasets for finetuning a model or module. Originally designed for use with NovelAI.
Submitted by
lion
-
3 years ago
(Last modified 3 years ago)
1
yyyy/mm/dd
Golang
^(((\d{3}[1-9]|\d{2}[1-9]\d|\d[1-9]\d{2}|[1-9]\d{3})(\/)(((0[13578]|1[02])(\/)(0[1-9]|[12]\d|3[01]))|((0[469]|11)(\/)(0[1-9]|[12]\d|30))|(02(\/)(0[1-9]|[1]\d|2[0-8]))))|(((\d{2})(0[48]|2468|13579)|((0[48]|2468|3579)00))(\/)02(\/)29))$ Match year/month/day format. e.g: 2020/02/29 [match] 2021/02/29 ...
Submitted by
mayl0421
-
3 years ago
1
...
262
263
264
265
266
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
(
[
0
-
9-_.,:;
+<>#´`"?!§°
\\
*()%$
\/
&=|Ø
]
{1,}
)
$
|
^
(
[
0
-
9.,k
]
{1,}
)
$
|
^
(
[
0
-
9
.,|
\-
]
{1,}
?
°C
)*
$
|
^
(
[
0
-
9
.,|
\-
"
\/
]
{1,}
?
x
?
)*
$
/
gm
Open regex in editor
Description
see
Submitted by
anonymous
-
3 years ago