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,040 community submitted regex patterns...
1
DNS SOA
PCRE (PHP <7.3)
oneliner SOA record matching regexp. like "ns1.domain.com.ge. mail.ns1.domain.com.ge. (2014061613 3600 600 604800 1800 )" without @ IN SOA in begging, usefull when implementing something like DNS GUI.
Submitted by
Nick Chkhikvishvili
-
10 years ago
1
URL REGULAR EXPRESSION CHALLENGE
PCRE (PHP <7.3)
Follow the instructions to match/don't match the following urls. Then post to comminity with title: [URL CHALLENGE]:
Submitted by
kostas trichas
-
10 years ago
1
Validate alphanumeric and numeric range
PCRE (PHP <7.3)
For Validating alphanumeric and numeric range
Submitted by
anonymous
-
10 years ago
1
Grab {\w+?} together
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Match Tags in ExpressionEngine
PCRE (PHP <7.3)
The second matcher will get EE tags from $tagdata.
Submitted by
Kyle Palko
-
10 years ago
1
testmmoj
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Convert YYMMDD to DD/MM/YY
PCRE (PHP <7.3)
I'm new to regular expressions and I've been searching high and low for this really simple date conversion from YYMMDD to DD/MM/YY e.g. 140923 to 23/09/14. Maybe I just didn't search hard enough, but here goes: Search/original string: (\d{4})(\d{2})(\d{2}) ...
Submitted by
Nike Begbaaji
-
10 years ago
1
http://stackoverflow.com/questions/26108562/python-regex-trying-to-cre
Python
no description available
Submitted by
anonymous
-
10 years ago
1
find single character
PCRE (PHP <7.3)
Why this regEx not find all single character? Why not work Start of string and End of string in bracket?
Submitted by
anonymous
-
10 years ago
1
Mips R-Type Instructions
PCRE (PHP <7.3)
Parses an R-Type Mips instruction. You can add and remove instructions in the list to support more R-Type instructions. Will detect only "add", "and", "nor" or "sub" as is
Submitted by
lunfel
-
10 years ago
1
Mips I-Type Instructions
PCRE (PHP <7.3)
Parses an I-Type Mips instruction. You can add and remove instructions in the list to support more I-Type instructions. Will detect only "addi", "andi" or "ori" as is
Submitted by
lunfel
-
10 years ago
1
search mailadress
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
input mandatory title
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Europead date or MSSQL Timestamp
PCRE (PHP <7.3)
Matches european dates (DD.MM.YYYY[ HH:MM:SS]) and MS-SQL Timestamp ({ts 'YYYY-MM-DD HH:MM:SS'})
Submitted by
anonymous
-
10 years ago
1
semver
PCRE (PHP <7.3)
Semantic Versioning regex pattern according to Tom Preston-Werner http://semver.org/ https://github.com/mojombo/semver/blob/master/semver.md ...
Submitted by
@gvlx <Gerardo Lisboa>
-
10 years ago
1
Test
PCRE (PHP <7.3)
test
Submitted by
royskatt
-
10 years ago
1
group & access several lines
PCRE (PHP <7.3)
Hi there, I try to learn and improve my regex knowledge... I want to fetch all lines below the "="-line and between the "-"-lines and access them via $1 - $n. Is this possible? Or should I fetch the whole string below the "="-line and the last "-"-line, then seperate the lines after that in another...
Submitted by
Floffy
-
10 years ago
1
ewqewq
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
unity3d.com csharp lint regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
hr
ECMAScript (JavaScript)
no description available
Submitted by
artem
-
10 years ago
1
...
586
587
588
589
590
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(?i)(?m)
(?<!
[
a
-
z
]
|
\.
|
\.
\d
)
(?:
\d
{1,4}
)
(?:
[
.,
\s
]
\d
{3}
)*
(?:
[
.,
]
\d
{2}
)
(?!
\%
|
\d
|
\.
|
\s
\.
|
\s
cm
|
cm
|
pol
|
\s
pol
)
/
g
Open regex in editor
Description
Encontra qualquer preço presente num documento.
Submitted by
anonymous
-
8 years ago