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 2,780 community submitted regex patterns...
1
Match all Tailwind CSS classes prefixed with dark:
PCRE2 (PHP >=7.3)
A simple expression for removing Tailwind CSS classes that are prefixed with dark: from your HTML. Can be easily changed to remove any other classes with a specific prefix. I made this so I could easily remove dark mode from Tailwind CSS components I find online.
Submitted by
hexrw
-
a year ago
1
git url dissecting
PCRE2 (PHP >=7.3)
the various parts of a git url are dissected and made available in the respective capture groups
Submitted by
anonymous
-
a year ago
1
Capturing elements inside square brackets
PCRE2 (PHP >=7.3)
Using regex, you can use a pattern that takes three comma-separated elements and then extracts the third element from inside the brackets.
Submitted by
anonymous
-
a year ago
1
DSL tags missing closing pair tags
PCRE2 (PHP >=7.3)
Checking whether all [b] tag pairs are present in *.dsl text
Submitted by
anonymous
-
a year ago
1
Full name split
PCRE2 (PHP >=7.3)
It allows to divide the full name into its three parts
Submitted by
anonymous
-
a year ago
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
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
No double same-letter
PCRE2 (PHP >=7.3)
Hello!!!!!.... -> Helo!.
Submitted by
Deniz-seckin55
-
2 years ago
1
filter branch name in git
PCRE2 (PHP >=7.3)
skip everything before the real last branch name
Submitted by
anonymous
-
2 years ago
1
VSCode TODO Tree regex
PCRE2 (PHP >=7.3)
Little tweaks to highlight tags in docblock comments also: /* NOTE */ ...
Submitted by
ced404
-
2 years ago
1
Numero PDA
PCRE2 (PHP >=7.3)
Consente di controllare l'esattezza del numero di Porto d'armi
Submitted by
Principio Tudisco
-
2 years ago
1
Match RFC1918 And Localhost
PCRE2 (PHP >=7.3)
Matches RFC1918 and Localhost ips.
Submitted by
nck
-
2 years 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
-
2 years ago
(Last modified 2 years ago)
1
Hungarian license plates from 2022
PCRE2 (PHP >=7.3)
All regular and vanity Hungarian plates are included. Special plates, police, ambulance, etc. are not included.
Submitted by
gergelyfuzi
-
2 years ago
(Last modified 2 years ago)
1
ISO 3166-1 alpha 2
PCRE2 (PHP >=7.3)
Sourced from https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
Submitted by
anonymous
-
2 years ago
1
ISO 639-1
PCRE2 (PHP >=7.3)
Matches ISO 639-1 language codes. Sourced from https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
Submitted by
Jason Whitehead
-
2 years ago
2
regex101: RFC1918 Private IPv4 Addresses, but limited to matching /24 subnet host IDs
PCRE2 (PHP >=7.3)
POSIX ERE compatible, suitable for usage in Bash [ testing Attributions Derived from [regex101: RFC1918 - Private IPv4 addresses by 0100101101001.
Submitted by
anonymous
-
2 years ago
1
...
32
33
34
35
36
...
139