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
Community Patterns
Search among 2,400 community submitted regex patterns...
1
Word Wrap examples
PCRE2 (PHP >=7.3)
Four examples of word wrapping at the 80 character mark, each one taking fewer steps than the last. Comment and uncomment lines with # to see the difference between versions. Optimization discussions welcome!
Submitted by
OnlineCop
-
7 years ago
(Last modified 7 months ago)
2
URL parser
PCRE2 (PHP >=7.3)
The best way to parse URL via Regex. This can be used in javascript, PHP, etc.
Submitted by
Ivijan-Stefan Stipic
-
7 years ago
(Last modified 10 months ago)
0
simple json key value pair parser
PCRE2 (PHP >=7.3)
no description available
Submitted by
amlang
-
8 years ago
(Last modified 15 days ago)
1
...
118
119
120
tcx
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
.
*
?
)
\/
(?<mnemonic>
.
{2,8}
?
)
_
(?<isbn>
\d
{13}
)
_
(?<primaryId>
.
+
?
)
_
(?<secondaryId>
tcx
\d
{0,3}
)
(?:
_r
(?<revisionNumber>
\d
+
)
)?
\.
(?<extension>
indd
|
qxp
|
qxd
)
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago