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 6,080 community submitted regex patterns...
0
Searching for bracketed fields and optional parameters
ECMAScript (JavaScript)
This is a quick test of how to add optional identifiers to a fieldname search in REDCap
Submitted by
Andy Martin
-
10 years ago
2
Match number in html
ECMAScript (JavaScript)
Prevent matching in markup attributes
Submitted by
Mathieu Civel
-
10 years ago
1
Matching url
Python
no description available
Submitted by
anonymous
-
10 years ago
1
Demo
ECMAScript (JavaScript)
no description available
Submitted by
Tensibai
-
10 years ago
1
auie
Python
auie
Submitted by
auie
-
10 years ago
-2
Regex for 1 to 100 with or without decimal values
ECMAScript (JavaScript)
no description available
Submitted by
Ved
-
10 years ago
-2
Basic grammar for regex matching of simplistic Makefiles
Python
This expression should both normal and wildcard targets and rules wrapped in simple sub-shell or varriable substitution enclosures.
Submitted by
Robert Butler <me@r-butler.net>
-
10 years ago
0
Number matching RE
ECMAScript (JavaScript)
Optional plus or minus sign. Leading zero required for decimal number less than zero.
Submitted by
Mario Diana
-
10 years ago
2
filename split 2
ECMAScript (JavaScript)
no description available
Submitted by
Miloš Ratković
-
10 years ago
0
filename split
ECMAScript (JavaScript)
Splitting file names
Submitted by
Miloš Ratković
-
10 years ago
2
Javascript: howto get rid of resulting ""
ECMAScript (JavaScript)
Hey folks, I try to do smth like this: var s = 'this is a "" && "string constant" and this "is another" one', result = s.match(new RegExp('"{1}(.*?)"{1}', 'g')); console.log(result);...
Submitted by
anonymous
-
10 years ago
1
test
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
-2
example
Python
match
Submitted by
anonymous
-
10 years ago
-3
Match substitutions
Python
Match regular expressions substitutions, I personally use this to perform my validate if it is a substitution, then call re.sub() on it.
Submitted by
Zarthus
-
10 years ago
2
haml attribute parsing
ECMAScript (JavaScript)
no description available
Submitted by
OnlineCop
-
10 years ago
1
Regex to detect HAML attribute expression whilst ignoring following text.
ECMAScript (JavaScript)
Can handle complex bracket expressions.
Submitted by
github.com/onlinecop
-
10 years ago
1
this
Python
stinks
Submitted by
anonymous
-
10 years ago
1
Captures entire log line that meet the criteria
Python
If you need to grab an entire log line based on criteria (error,warning,notice,info,debug), use this Regexp and change the parameters accordingly.
Submitted by
Neill Lima
-
10 years ago
-2
Matching HTML attributes
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
3
how to match both lines?
Python
f_name may contain spaces, numbers, characters,... so I would go for a but then I couldn't use [...]? anymore to match the second line?
Submitted by
anonymous
-
10 years ago
1
...
297
298
299
300
301
...
304
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
<%=
?
(
.
+
)
%>
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
10 years ago