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,000 community submitted regex patterns...
0
flight number
PCRE (PHP <7.3)
recognize a flight number define in wikipedia and capture carrier code and flight number. source
Submitted by
anonymous
-
8 years ago
0
Find Translations without textdomain
Python
Rexeg to find translations without textdomain. Primarelly made for Wordpress but you can change expression to include different textdomain wrapper. Currently they are set to: __(' TEXT $phpvars or anything else ') I used it in SublimeText to search for lines of PHP code, that's why regex is made f...
Submitted by
cure85
-
8 years ago
0
* = (0 a n vezes);
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
+ = (1 a n vezes);
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
? = (0 a 1 vezes);
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
{3} = (Obrigatoriamente 3 vezes);
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
{2,} = (2 vezes ou n vezes);
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
{1,2} = (1 vez ou 2 vezes);
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
.
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
\s
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
\S
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Extract from on-pageText
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
\d
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
\D
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
\w
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
\W
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
^ = Início da string;
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
$ = Fim da string;
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
() = Determina quais grupos serão capturados;
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
(?:) = Determina quais grupos 'NÃO' serão capturados;
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
...
87
88
89
90
91
...
900
Community Library Entry
2
Regular Expression
.NET 7.0 (C#)
@"
^
(?>
(?'protocol'
[
a
-
zA
-
Z
]
+
)
://
)?
(?'domain'
[
a
-
zA
-
Z0
-
9.
\-
_
]
*
)?
(?>
:
(?'port'
\d
{1,5}
)
)?
/
(?'path'
[
a
-
zA
-
Z0
-
9_
\-
%
]
+
)
(?:
(?>
\?
(?'query'
[
a
-
zA
-
Z0
-
9_
\-
=&%
]
+
)
)
(
)
|
(?>
#
(?'anchor'
[
a
-
zA
-
Z0
-
9_
\-
%
]
+
)
)
(
)
){0,2}
$
"
gm
Open regex in editor
Description
Matches protocol, domain, port, path, query and anchor as named capturing groups.
Submitted by
Jonathan
-
a year ago
(Last modified a year ago)