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,020 community submitted regex patterns...
1
remove Markdown language Wrapper
PCRE2 (PHP >=7.3)
to remove language wrapper in markdown files
Submitted by
Mohamed Elserety
-
a year ago
(Last modified a year ago)
1
HGVS - ClinVar Submission
Python
HGVS Nomenclature Check for ClinVar Submissions
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
Adds custom prefix to tailwind classes
PCRE (PHP <7.3)
Or any other particular case where given any line that starts with the pattern "@apply" (or any other line heading) and it substitutes any word (list of characters without spaces), with or without puntuation in them, and it adds a custom prefix to all the words in that line but the line heading.
Submitted by
@drakopablo.dev
-
a year ago
2
Invalid Windows Filename Chars
PCRE (PHP <7.3)
https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file Integer value zero, sometimes referred to as the ASCII NUL character. Characters whose integer representations are in the range from 1 through 31, except for alternate data streams where these characters are allowed. For more info...
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
Validate local host or local network
PCRE2 (PHP >=7.3)
Validate localhost:port, 127.0.:port, 192.168.:port
Submitted by
anonymous
-
a year ago
1
regex chuoi tieng viet tuong doi
PCRE2 (PHP >=7.3)
aa
Submitted by
anonymous
-
a year ago
1
line end marker
PCRE2 (PHP >=7.3)
marks ends of lines with ; (if you wrote something as an example in python and switched to php and you are too lazy to write ; after each line) doesnt marks it where its not supposed to mark (after { ( [ = , : and ; as an example
Submitted by
anonymous
-
a year ago
1
Nginx Ingress
PCRE2 (PHP >=7.3)
Nginx-Ingress Pattern
Submitted by
GauravKT
-
a year ago
1
0x28C6A6DdF8fF8A47A90A69bfE75cd89904a14d71
Golang
0x28C6A6DdF8fF8A47A90A69bfE75cd89904a14d71
Submitted by
anonymous
-
a year ago
1
No double same-letter
PCRE2 (PHP >=7.3)
Hello!!!!!.... -> Helo!.
Submitted by
Deniz-seckin55
-
a year ago
1
filter branch name in git
PCRE2 (PHP >=7.3)
skip everything before the real last branch name
Submitted by
anonymous
-
a year ago
1
Match many cases of 8601
Java 8
This is still a working in progress Need to do Unit Tests and search for more use cases Match partial cases of 8601 such as: missing offset missing time...
Submitted by
jpmand
-
a year ago
(Last modified a year ago)
1
VSCode TODO Tree regex
PCRE2 (PHP >=7.3)
Little tweaks to highlight tags in docblock comments also: /* NOTE */ ...
Submitted by
ced404
-
a year ago
1
Numero PDA
PCRE2 (PHP >=7.3)
Consente di controllare l'esattezza del numero di Porto d'armi
Submitted by
Principio Tudisco
-
a year ago
1
Match RFC1918 And Localhost
PCRE2 (PHP >=7.3)
Matches RFC1918 and Localhost ips.
Submitted by
nck
-
a year ago
1
Funny Discord Thing
.NET 7.0 (C#)
Submitted by
Deniz-seckin55
-
a year ago
1
Discord Message JSON
.NET 7.0 (C#)
Regex for a Discord Message as JSON Example JSON for Regex: { "id": "1145344233713188874",...
Submitted by
Deniz-seckin55
-
a year ago
(Last modified a year ago)
1
Discord Message JSON
.NET 7.0 (C#)
Regex for one Discord Message
Submitted by
Deniz-seckin55
-
a year ago
1
Validate Wikipedia URL and extract Article Title
ECMAScript (JavaScript)
This works against a list of hyperlinks from the 'USS Marmora (1862)' article You can include File: pages by removing the File:| from the regex. I could improve how the remaining query for urls containing index.php, for now I recommend splitting in your chosen programming language. ...
Submitted by
Martin Shaw
-
a year ago
(Last modified a year ago)
1
Validar password
PCRE2 (PHP >=7.3)
Regex para validar una contraseƱa con un minimo 8 caracteres, maximo 16 y debe incluir minusculas, mayusculas, digitos y un caracter especial. Todo sin espacios
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
...
41
42
43
44
45
...
901
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
(?<Fname>
.
*
\.
)
(
S
(?<se>
\d
{1,2}
)
E
(?<ep>
\d
{2,3}
)
.
*
|
(?<season>
S
\d
{1,2}
-S
\d
{2,3}
)
.
*
|
(?<yr>
\d
{4}
[^
p
]
)
.
*
)
/
g
Open regex in editor
Description
This is my first attempt so umm ya ..
Grab Filename: Fname Season: se Episode: ep Year: yr
Submitted by
TheMorgue
-
a year ago
(Last modified a year ago)