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 2,880 community submitted regex patterns...
1
Match Hex Color Codes
PCRE2 (PHP >=7.3)
DartWhite.com
Submitted by
anonymous
-
a month ago
1
Match Common URL Schemes
PCRE2 (PHP >=7.3)
markitthing.com
Submitted by
anonymous
-
a month ago
1
Match Credit Card Expiry Date
PCRE2 (PHP >=7.3)
stockmoneys.com
Submitted by
anonymous
-
a month ago
1
Match Common Email Domains
PCRE2 (PHP >=7.3)
designmagazines.net
Submitted by
anonymous
-
a month ago
1
Match Common File Extensions (e.g., .txt, .json)
PCRE2 (PHP >=7.3)
designmagazines.net
Submitted by
anonymous
-
a month ago
1
Match Currency Amounts (e.g., $1,000.00)
PCRE2 (PHP >=7.3)
grapefulapp.com
Submitted by
anonymous
-
a month ago
1
Match Binary Numbers
PCRE2 (PHP >=7.3)
noosbox.com
Submitted by
anonymous
-
a month ago
1
Match URL Fragment
PCRE2 (PHP >=7.3)
onerandomb.com
Submitted by
anonymous
-
a month ago
1
Match Valid HTML Attributes with Values
PCRE2 (PHP >=7.3)
thedigitaldozen.com
Submitted by
anonymous
-
a month ago
1
Match Valid Currency Symbols
PCRE2 (PHP >=7.3)
43Church.com
Submitted by
anonymous
-
a month ago
1
Match JSON Arrays
PCRE2 (PHP >=7.3)
43Church.com
Submitted by
anonymous
-
a month ago
1
Match Valid HTML Class Names
PCRE2 (PHP >=7.3)
43Church.com
Submitted by
anonymous
-
a month ago
1
Match JavaScript Function Declarations
PCRE2 (PHP >=7.3)
AtIngReviewer.net
Submitted by
anonymous
-
a month ago
1
Match Valid Time Zone Abbreviations
PCRE2 (PHP >=7.3)
AtIngReviewer.net
Submitted by
anonymous
-
a month ago
1
Match ASCII Printable Characters
PCRE2 (PHP >=7.3)
FocalWord.com
Submitted by
anonymous
-
a month ago
1
Match Git Commit Hashes
PCRE2 (PHP >=7.3)
LongRead.net
Submitted by
anonymous
-
a month ago
1
Match HTML Anchor Tags
PCRE2 (PHP >=7.3)
PopGen.net
Submitted by
anonymous
-
a month ago
1
Match JSON Objects
PCRE2 (PHP >=7.3)
power909.com
Submitted by
anonymous
-
a month ago
1
Match Simple Passwords (At least 6 Characters)
PCRE2 (PHP >=7.3)
PureTrack.net
Submitted by
anonymous
-
a month ago
1
Match UUID v1
PCRE2 (PHP >=7.3)
ScraperSite.com
Submitted by
anonymous
-
a month ago
1
...
135
136
137
138
139
...
144
Ascending and Descending order
-2
Regular Expression
Java 8
"
(?=
\b\d
{8}
\b
)
(?:
(?:
9
?
8
?
7
?
6
?
5
?
4
?
3
?
2
?
1
?
0
?
)
|
(?:
0
?
1
?
2
?
3
?
4
?
5
?
6
?
7
?
8
?
9
?
)
)
(?<=
\d
{8}
)
"
gm
Open regex in editor
Description
This regex is to match Ascending or descending order of 8 digit number
Submitted by
anonymous
-
a year ago