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,000 community submitted regex patterns...
1
get zip code
ECMAScript (JavaScript)
this just matches the city credential followed by zipcode e.g: FL 18117
Submitted by
Gabriel Micah
-
3 years ago
1
test
PCRE2 (PHP >=7.3)
test
Submitted by
tf
-
3 years ago
1
Conventional Commit Footer
PCRE (PHP <7.3)
Supports multi line value for git trailers with lookahead for beginning of next git trailer
Submitted by
Christos Cunning
-
3 years ago
1
Match String ( /* 1 */)
ECMAScript (JavaScript)
Matches the comment string from Robo3T exports
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
1
Instagram reel Id
PCRE2 (PHP >=7.3)
get instagram reels id
Submitted by
anonymous
-
3 years ago
1
Signature of UNIFI Protect in SPLUNK for DHCP
PCRE2 (PHP >=7.3)
Pulls the DHCP Command from SPLUNK output
Submitted by
anonymous
-
3 years ago
1
Simple Phone Number validation
PCRE2 (PHP >=7.3)
Default to 8 characters maxInput and minInput 14 characters Regular Expression ^(?![ -])(?!.[- ]$)(?!.[- ]{2})[0-9- ]+$ Allows digits 0-9, and the single white spaces and single hyphens - characters, but restricts the spaces and hyphens at the start, end, and repetitions between the value. Note...
Submitted by
Sowed Castelli
-
3 years ago
(Last modified 3 years ago)
1
Simple email verification regex
PCRE2 (PHP >=7.3)
Regular Expression ^(?=a-z{5,40}$)[a-z0-9._-]{1,20}@(?:(?=[a-z0-9-]{1,15}\.)[a-z0-9]+(?:-[a-z0-9]+)*\.){1,2}[a-z]{2,6}$ By default, the app converts all the email value to lower case before validation. Please use regex101.com: email to analyse and validate the regex. The error message for an ...
Submitted by
Sowed Castelli
-
3 years ago
1
Simple ID verification
PCRE2 (PHP >=7.3)
Used to validate documents identifiers like passports and IDs, VISA numbers. Default to 6 characters min and max 30 characters for format tin-no, such as the Tax regisration number.- Regular Expression ^[a-zA-Z0-9 ]{6,30}$ Accepts both lowercase and uppercase letters, from a-z, digit, and white s...
Submitted by
Sowed Castelli
-
3 years ago
1
Simple TIN number regex
PCRE2 (PHP >=7.3)
Only accept numerics/digits and hyphens, forbidding them at the start and the end of the number, and avoid two consecutive occurrences.
Submitted by
Sowed Castelli
-
3 years ago
1
Simple TIN number regex
PCRE2 (PHP >=7.3)
Only accept numerics/digits and hyphens, forbidding them at the start and the end of the number, and avoid two consecutive occurrences. The length of the input is limited by the app.
Submitted by
Sowed Castelli
-
3 years ago
1
Simple TIN number regex
PCRE (PHP <7.3)
Only accept numerics/digits and hyphens, forbidding them at the start and the end of the number, and avoid two consecutive occurrences. Assuming the app validates the length.
Submitted by
Sowed Castelli
-
3 years ago
(Last modified a year ago)
1
Person NAME verification
PCRE2 (PHP >=7.3)
Regular Expression ^[a-zA-Z ]{2,30}$ Allow only letters and space between each characters to support for multi word single name. Only accepts english letter characters.
Submitted by
Sowed Castelli
-
3 years ago
1
Simple person name verification
ECMAScript (JavaScript)
Regular Expression ^[a-zA-Z ]{2,50}$ Allow only letters a-z and space between each character to support multi-word single names. Prone to errors in repeated spaces, to be cleanup by the app....
Submitted by
Sowed Castelli
-
3 years ago
(Last modified 3 years ago)
1
Simple title validation
ECMAScript (JavaScript)
Used to validate entries like Address names and cities, streets. Allows any of the following characters -.#@&,:?!]{2})[a-zA-Z0-9- .#@&,_'":.?! Prohibits these characters from begining a sentence -.&,_'":?! Prohibits these characters from ending a sentence - &_'":
Submitted by
Sowed castelli
-
3 years ago
1
學位英文簡稱
PCRE2 (PHP >=7.3)
按照縮寫慣例 A.A.A A.A.A. A.A. A.A.A./A.A.A. ...
Submitted by
stone
-
3 years ago
1
UK fixed and mobile phones
PCRE2 (PHP >=7.3)
Will match all fixed and mobile phone numbers with 9 or 10 digit NSN Resource used: https://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom
Submitted by
Octav
-
3 years ago
1
email-tec
PCRE2 (PHP >=7.3)
mesa
Submitted by
anonymous
-
3 years ago
1
Book of Jude
PCRE2 (PHP >=7.3)
Searches for expressions containing biblically accurate references for the book of Jude.
Submitted by
anonymous
-
3 years ago
1
entrance_fee (test apostrophe)
Python
bla
Submitted by
guib
-
3 years ago
1
...
790
791
792
793
794
...
900
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
(
[
\w\d
]
{1,}
)
(
\s
{0,}
-
\s
{0,}
)
(
[
\w\d
]
{1,}
)
(
\s
{1,}
|
(
\s
{0,}
-
\s
{0,}
)
)
(
[
\w\d
]
{1,}
)
/
gi
Open regex in editor
Description
Matches the comment string from Robo3T exports
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)