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...
0
Detect all HTML tags
PCRE (PHP <7.3)
This RegExp will find any and everything that's an HTML tag, and ignore the contents inside of it. (sorry if this already exists, I'm new to the site and I'm having a lot of fun with RegExp... so here's my version!)
Submitted by
William Ramsey
-
8 years ago
0
One occurrence from 0 to 10 with one decimal.
PCRE (PHP <7.3)
Only one occurrence of a value between 0 to 10 with only one decimal using ',' like point. For example: Good: 0,3 0,5 4,2 10 Fail: 92 0,31 3,45
Submitted by
anonymous
-
8 years ago
0
zero or one
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Security rating reaffirmed
PCRE (PHP <7.3)
Matching financial agencies rating securities for buy/hold etc
Submitted by
anonymous
-
8 years ago
0
Corequery event template click keyup etc
ECMAScript (JavaScript)
pathfromdata.event(arg1,arg2)
Submitted by
anonymous
-
8 years ago
0
Corequery event template click keyup etc
ECMAScript (JavaScript)
pathfromdata.event(arg1,arg2)
Submitted by
anonymous
-
8 years ago
0
#hashtag
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Убираем заголовки
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Find 4 numbers/digits
ECMAScript (JavaScript)
Will find 4 digits. IE: 1234 (not 123).
Submitted by
anonymous
-
8 years ago
0
Find any Characters
ECMAScript (JavaScript)
Finds all characters and numbers in a string.
Submitted by
anonymous
-
8 years ago
0
Find lines with extra semicolons
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Finding comments
PCRE (PHP <7.3)
Used for finding lines with comments in C#
Submitted by
Simon Clement
-
8 years ago
0
regex pour nom fichier pesv2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Find Basic Auth in URL (without protocol)
PCRE (PHP <7.3)
no description available
Submitted by
Aaron Murray
-
8 years ago
0
SQL alias
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
beginsWithOperator
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
@Parse @AppleScript @Handler List into Name, Params, & Tags
PCRE (PHP <7.3)
Processes the list of AppleScript Handlers, which usually have been extracted from a Script Library, with one handler/line. Source data looks like this: changeDate(pPOSIXPath, pDateToChange, pNewDate) -- @Date @Finder @File @Change checkReqdASVer(pVerReqdStr) -- @AppleScript @Ver cleanName(pNameFin...
Submitted by
JMichaelTX
-
8 years ago
0
get date from french text
Python
no description available
Submitted by
anonymous
-
8 years ago
0
@Extract @kMDItem Value from Either Single & @Multiline Text @ccstone
PCRE (PHP <7.3)
This uses the LookAhead feature to include match/capture of all text, either on a single line, or multiple lines, until it finds characters NOT in the "continuation" lines. When a kMDItem uses multiple lines, it starts each continuation line with multiple SPACES. The start of a NEW kMDItem always s...
Submitted by
JMichaelTX
-
8 years ago
0
find base32 and id
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
...
82
83
84
85
86
...
900
Community Library Entry
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
-
3 years ago