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 17,120 community submitted regex patterns...
0
Match everything between brackets, including brackets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Match everything between brackets, including brackets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Custom HTML placeholder matcher
PCRE (PHP <7.3)
Grab all placeholder "tags" that are alphanumeric with optional underscores. In this example my placeholders are double curly braces e.g. {{MY_VARIABLE_NAME}}. Change out the braces for whichever symbol/character you are using or add/remove more. E.g. [[MY_VARIABLE_NAME]] would be matched with \[\...
Submitted by
John Cogan
-
9 years ago
0
Layer7 Filter for HTTP
PCRE (PHP <7.3)
For use with router layer 7 filtering, will detect intial connection or initial response
Submitted by
Andrew Cox
-
9 years ago
0
4.2 numerisch mit tausender kennzeichen
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
parse author from html
ECMAScript (JavaScript)
no description available
Submitted by
imilov
-
9 years ago
0
remove empty html paragraph tags
PCRE (PHP <7.3)
no description available
Submitted by
acor3
-
9 years ago
0
Url Parser for Alpha(Dash Numeric) Pattern
PCRE (PHP <7.3)
a-123-2134
Submitted by
Matthew Marcus
-
9 years ago
0
Parse Query segment from URL path
PCRE (PHP <7.3)
no description available
Submitted by
Matthew Marcus
-
9 years ago
0
Publicly addressable IP addresses, excluding private ranges.
PCRE (PHP <7.3)
Valid IP Octets include: 1-9 & 11-223, then 0-255, twice, then 1-254 but with no leading zeroes. This will exclude the 10.0.0/8 private IP range, the reserved and multi-cast range, 224.0.0.0 and up, as well as the private IP ranges 172.16.0.0/12 and 192.168.0.0/16. In other words, this will addres...
Submitted by
Schvenn
-
9 years ago
0
Command line arguments split
PCRE (PHP <7.3)
From http://stackoverflow.com/a/19856614/561545
Submitted by
anonymous
-
9 years ago
0
Match SysLog Struvtured Data Elements
PCRE (PHP <7.3)
Matches structured data elements multiple times Groups on SD-ID, keys, values
Submitted by
anonymous
-
9 years ago
0
Okan Aybar Makale
PCRE (PHP <7.3)
Okan Aybar makalelerini konularına göre parse eden regex
Submitted by
syil
-
9 years ago
0
Finding norwegian address
ECMAScript (JavaScript)
no description available
Submitted by
Håkon Antonsen
-
9 years ago
0
Azeri full name js validation
ECMAScript (JavaScript)
no description available
Submitted by
Noone
-
9 years ago
0
Delphi - FieldName GrepSearch Filter
ECMAScript (JavaScript)
Filtro para utilização no GrepSearch do Delphi para encontrar Dataset.FieldName
Submitted by
Moisés Porto Rodrigues
-
9 years ago
0
Finding SEI File Date in File Name
Python
For flags data
Submitted by
Andrew Chalk
-
9 years ago
0
CEP
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Remove \r\n & \"
PCRE (PHP <7.3)
JSON object string \r\n & \" replace regex
Submitted by
Jerad Rutnam
-
9 years ago
0
remove last char from string (once)
PCRE (PHP <7.3)
remove the last char from a string. Replace 'e' with the char to remove.
Submitted by
anonymous
-
9 years ago
1
...
531
532
533
534
535
...
856
Greedy + & * quantifires debug
0
Regular Expression
PCRE (PHP <7.3)
/
[
123
]
+
(
123
)*
2
/
Open regex in editor
Description
/[123]+(123)*2/ Input: 1,2,3,4,5,6,7,8,9,0,10,11,12,13,14,15,16 Find: 12
Submitted by
Tomer Levi
-
9 years ago