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,200 community submitted regex patterns...
1
Detect Even Numbers in any String
PCRE2 (PHP >=7.3)
Detects even numbers in any string: ex. Hello, I'm __18__ years old. ex. 17.02 (not detected)
Submitted by
anonymous
-
8 months ago
1
Nigeria Phone Number Validation
PCRE2 (PHP >=7.3)
This regex will allow you validate the pattern of Nigeria phone number.
Submitted by
Raymonbell
-
8 months ago
1
UUID v7
PCRE2 (PHP >=7.3)
Matching UUID v7 based on https://uuid7.com/ and related docs: https://uuid.ramsey.dev/en/stable/rfc4122/version7.html https://www.ietf.org/archive/id/draft-peabody-dispatch-new-uuid-format-04.html#name-uuid-version-7
Submitted by
DynamoRed
-
8 months ago
1
YYMMDD Date with leap year
ECMAScript (JavaScript)
This expression validates any YYMMDD date, and insures that the leap year is accounted for. This is valid till 2099, 2100 is NOT a leap year.
Submitted by
M. Fahmy
-
8 months ago
(Last modified 7 months ago)
1
Kubernetes log parsing
PCRE2 (PHP >=7.3)
A generic expression to capture any log generated by K8s components in an environment running banzai logging (fluentd/fluentbit)
Submitted by
TJ
-
8 months ago
1
regex
PCRE (PHP <7.3)
Match regex cheat sheet words in https://techearl.com/regex-cheat-sheet url
Submitted by
anonymous
-
8 months ago
1
Identifies Addition Equation
PCRE2 (PHP >=7.3)
Submitted by
anonymous
-
8 months ago
1
Instagram Profile URL
ECMAScript (JavaScript)
ECMAScript for Instagram Profile URL
Submitted by
chiminori
-
8 months ago
1
For_create_package
PCRE2 (PHP >=7.3)
Для создания пакетов в БД
Submitted by
anonymous
-
8 months ago
1
Task 6: Broken Keyboard
PCRE2 (PHP >=7.3)
Optimal solution for Task 6 of https://regex101.com/quiz/6, beating s/(.)\1{2}/$1/g by one token.
Submitted by
chakra
-
8 months ago
1
Task 7: Validate an IP [44 chars, Non-Optimal]
PCRE2 (PHP >=7.3)
Near-optimal solution for Task 7 https://regex101.com/quiz/7. Optimal is 39 characters. Credit to Danail Gabenski on stackoverflow for the \.\b trick.
Submitted by
chakra
-
8 months ago
1
Deutescher Wetter dinst station 15813 sortirung zu Mittag
.NET 7.0 (C#)
Mittags zeit only
Submitted by
anonymous
-
8 months ago
1
Discord IP Blocker
Rust
Blocks IPs that are sent in discord. Will block any IP, even if the numbers aren't in valid ranges (like 327.19.8.79) Has basic protections against whitespace
Submitted by
Bee3D
-
8 months ago
(Last modified 8 months ago)
1
Divar domain check
PCRE2 (PHP >=7.3)
checks provided string be a url of divar domain
Submitted by
anonymous
-
8 months ago
(Last modified 8 months ago)
1
Detects all variations of Yes/No
PCRE2 (PHP >=7.3)
Regex detecting
Submitted by
anonymous
-
8 months ago
1
Phone number - Fr or Eu
PCRE2 (PHP >=7.3)
Allow numbers like: 0689553212 0789553212 +33689553212 +32689553212 0033689553212...
Submitted by
Bruno Duyé
-
8 months ago
1
Telegram Bot Tokens
Python
matches for telegram bot tokens
Submitted by
anonymous
-
8 months ago
1
Pig Latin
PCRE2 (PHP >=7.3)
Pig Latin
Submitted by
anonymous
-
7 months ago
1
Patu
ECMAScript (JavaScript)
"^(http://|https://|http://www\.|https://www\.|www\.)?(www\.(twanda))?(([\w\-]+)?\.?(twanda|))(\.ch|\.com)(:\d+)?/.+$"igm
Submitted by
anonymous
-
7 months ago
1
Match camelCase file names. Allows numbers and [], [[]] as first chars.
ECMAScript (JavaScript)
This regex is used to match file names with camelCase names only. It allows numbers and [...], [[...]] as first characters.
Submitted by
Florent Catiau-Tristant
-
7 months ago
(Last modified 7 months ago)
1
...
119
120
121
122
123
...
910