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,560 community submitted regex patterns...
0
Detect path win/linux
PCRE2 (PHP >=7.3)
Détecte si une chaine est un chemin Windows ou Linux valide
Submitted by
anonymous
-
7 years ago
(Last modified 9 months ago)
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 6 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 8 months ago)
0
Bash (sed)
Java 8
no description available
Submitted by
anonymous
-
8 years ago
(Last modified 8 months ago)
0
Regular expression for extracting HTML tag attributes
Java 8
no description available
Submitted by
Amir Arian
-
9 years ago
(Last modified 8 months ago)
1
...
126
127
128
find and replace groups
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
distroEnrollment
Question
)
(
\d
{1,2}
)
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
3 years ago