Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
Order By
Most Recent
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET (C#)
Rust
Sponsors
Community Patterns
Search among 2,360 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
-
2 years ago
2021-06-27 14:07
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
-
2 years ago
2021-06-27 14:21
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
學位英文簡稱
PCRE2 (PHP >=7.3)
按照縮寫慣例 A.A.A A.A.A. A.A. A.A.A./A.A.A. ...
Submitted by
stone
-
2 years ago
2021-06-28 14:34
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
-
2 years ago
2021-06-28 15:41
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
email-tec
PCRE2 (PHP >=7.3)
mesa
Submitted by
anonymous
-
2 years ago
2021-06-29 00:28
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Book of Jude
PCRE2 (PHP >=7.3)
Searches for expressions containing biblically accurate references for the book of Jude.
Submitted by
anonymous
-
2 years ago
2021-06-29 00:54
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Pokemon Go Discord - friend codes
PCRE2 (PHP >=7.3)
A regex to parse codes from a discord server
Submitted by
EagleBirdman
-
2 years ago
2021-06-30 01:44
(Last modified 2 years ago)
2021-06-30 01:44
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
2
PCRE2 (PHP >=7.3)
2
Submitted by
anonymous
-
2 years ago
2021-06-30 14:36
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Gitlab - Branch name
PCRE2 (PHP >=7.3)
Branch name for Gitlab's Push Rules
Submitted by
anonymous
-
2 years ago
2021-06-30 21:36
(Last modified 2 years ago)
2021-06-30 22:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Gitlab - Commit message
PCRE2 (PHP >=7.3)
Commit message for Gitlab's Push Rules
Submitted by
anonymous
-
2 years ago
2021-06-30 21:46
(Last modified 2 years ago)
2021-06-30 22:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
aws-arn-parser
PCRE2 (PHP >=7.3)
this helps in parsing aws arn's
Submitted by
anonymous
-
2 years ago
2021-07-02 17:24
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Markdown checkboxes
PCRE2 (PHP >=7.3)
Match checkboxes that haven't been checked and are not followed by a footnote or crossed out text
Submitted by
heygarrett.com
-
2 years ago
2021-07-02 18:28
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
find http urls in data-full-url attribute
PCRE2 (PHP >=7.3)
This parses http url's from the data-full-url attribute of a block of code
Submitted by
Kelvin Spencer
-
2 years ago
2021-07-06 13:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
One or more spaces
PCRE2 (PHP >=7.3)
Find one or more spaces
Submitted by
anonymous
-
2 years ago
2021-07-06 22:49
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Nombres en mayusculas
PCRE2 (PHP >=7.3)
Nombres en mayúsculas Permite filtrar palabras de nombres con mayúsculas y tildes. Incluye la ñ para Latinoamérica.
Submitted by
macorreag
-
2 years ago
2021-07-07 00:29
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Email obfuscation
PCRE2 (PHP >=7.3)
An expression that obfuscates with * following this rule: @. Example: Input: eagles.willys@willbethebest.co.uk...
Submitted by
Ernesto Janebro
-
2 years ago
2021-07-07 16:33
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
nginx - all subdomain except "api, panel and ..."
PCRE2 (PHP >=7.3)
is used for nginx nameserver regex. pass all except some subdomains.
Submitted by
Mahdad
-
2 years ago
2021-07-08 02:17
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
find img without alt
PCRE2 (PHP >=7.3)
okok
Submitted by
anonymous
-
2 years ago
2021-07-08 07:20
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match the start of a link.
PCRE2 (PHP >=7.3)
https:// http:// https://\/\/ https:\/\/\/\/\/\ https://\/\/ ...
Submitted by
anonymous
-
2 years ago
2021-07-09 02:40
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Check special character except alpha_num
PCRE2 (PHP >=7.3)
Check special character except alpha_num
Submitted by
anonymous
-
2 years ago
2021-07-09 09:45
1
...
3
4
5
6
7
8
9
...
118
From conf table to hive table
-2
0 upvotes, 2 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
(
\w
+
)
\t
(
[
\w
()
]
+
)
\t
(
.
+
)
\t\d
/
gmi
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
3 years ago
2021-02-18 19:33