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
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 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 15,300 community submitted regex patterns...
0
Branch naming policy for internal GitHub
PCRE2 (PHP >=7.3)
To enforce branch names to include specific prefix and not allow some special characters.
Submitted by
TParry
-
2 years ago
0
RGB 256 Function Notation
ECMAScript (JavaScript)
Standardized RGB 256 Notation for CSS Functions. For Example: const str = "255, 255, 255"; // Match const str = "0, 10, 200"; // Match...
Submitted by
anonymous
-
2 years ago
-1
Email Regex
ECMAScript (JavaScript)
Email Validation Regex
Submitted by
anonymous
-
2 years ago
0
匹配#结尾的电话号码和手机
Java 8
匹配#结尾的电话号码和手机
Submitted by
Leo
-
2 years ago
0
ipv4
ECMAScript (JavaScript)
IPv4 string check in JavaScript RegEx
Submitted by
clarkttfu@gmail.com
-
2 years ago
0
正規表現例
PCRE2 (PHP >=7.3)
正規表現の例です
Submitted by
anonymous
-
2 years ago
0
#结尾的电话匹配
Java 8
#结尾的电话匹配
Submitted by
anonymous
-
2 years ago
0
判断是否有非法字符(合法字符为数字+-# 以及{"0":0, "1":1}所包含的符号)
Java 8
判断是否有非法字符(合法字符为数字+-# |以及{"0":0, "1":1}所包含的符号) 能捕获的:包含汉字、英文字符、部分分割符(;、/)、各种括号的电话
Submitted by
Jiajian Ye
-
2 years ago
0
Find a word after an immediate pattern of characters
PCRE2 (PHP >=7.3)
This is done for finding data that is allocated after a defined pattern of letters. In this case the example is, after MID, finding the MID number in a raw data string.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
AWS SSM Cron Schedule Matcher
ECMAScript (JavaScript)
Matches the expression inside the "cron()" expression of a SSM Window.
Submitted by
Jean Nussenzveig
-
2 years ago
0
Trim leading filename id
PCRE2 (PHP >=7.3)
Removes two numbers and an underscore
Submitted by
anonymous
-
2 years ago
0
lower case alpha and number
PCRE (PHP <7.3)
lower case alpha and number
Submitted by
anonymous
-
2 years ago
0
Ending with New line or Blank Space
PCRE2 (PHP >=7.3)
this expression can be added to the end of a regular expression to match words which can end with NEW LINE or BLANK SPACE.
Submitted by
J. V. L. Alves
-
2 years ago
0
Among us detector
PCRE2 (PHP >=7.3)
Detects among us in various formats.
Submitted by
anonymous
-
2 years ago
0
Name title checker
PCRE2 (PHP >=7.3)
For things like Mr. Xyz, or Jr. Abcd.
Submitted by
anonymous
-
2 years ago
0
Missing copyright detector for Rider (PCRE2)
PCRE2 (PHP >=7.3)
Detects one match per file if that file is missing the expected copyright text. This works with JetBrains Rider IDE. If you are using Visual Studio (.NET), you can replace the \Q and \E with \b
Submitted by
Kris Morness
-
2 years ago
0
Match all periods except the file extension
PCRE2 (PHP >=7.3)
Match all periods except the file extension
Submitted by
anonymous
-
2 years ago
0
Architectural CSI (Construction specifications institute)
ECMAScript (JavaScript)
CSI is a documentation standard for Architectural buildings and specifications in construciton. Tihs matches the code based on the typical patterns in ues and returns the Number and the description if it iexists. May need retooling for Autodesk Model checker.
Submitted by
Ron Allen 2022
-
2 years ago
0
Get any Tariff number used in the HTS for Customs
PCRE2 (PHP >=7.3)
Tariff number format grabber for any customs related stuff
Submitted by
anonymous
-
2 years ago
0
Improved HTS matcher
PCRE2 (PHP >=7.3)
For all customs related HTS stuff, you can now put the CBP document you need here and just grab all those tasty, tasty HTS numbers with this handy formula. Cheers!
Submitted by
anonymous
-
2 years ago
1
...
692
693
694
695
696
...
765
UPN Compiladores
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(?<gp_p_r_1>
if
)
\s
*
(?<gp_i_i_c_1>
\(
)
(
.
*
)
(?<gp_i_c_c_1>
\)
)
\s
*
(?<gp_i_i_b_1>
\{
)
\s
*
\n\s
*
(?<gp_b_i_1>
\D.
*
)
(?<gp_s_i_1>
\;
)
\s
*
\n\s
*
(?<gp_i_f_b_1>
\}
)
.
*
(?<gp_p_r_2>
else
)
.
*
(?<gp_i_i_b_2>
\{
)
\s
*
\n\s
*
(?<gp_b_i_2>
\D.
*
)
(?<gp_s_i_2>
\;
)
\s
*
\n\s
*
(?<gp_i_f_b_2>
\}
)
/
gm
Open regex in editor
Description
UPN Compiladores
Submitted by
anonymous
-
2 years ago