Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 13,760 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
\w
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-10 23:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
\D
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-10 23:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
\d
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-10 23:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
\S
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-10 23:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
\s
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-10 23:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
.
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-10 23:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
{1,2} = (1 vez ou 2 vezes);
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-10 23:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
{2,} = (2 vezes ou n vezes);
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-10 23:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
{3} = (Obrigatoriamente 3 vezes);
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-10 23:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
? = (0 a 1 vezes);
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-10 23:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
+ = (1 a n vezes);
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-10 23:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
* = (0 a n vezes);
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-10 22:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
7 years ago
2017-04-10 13:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
GEDCOM parsing experiment
PCRE (PHP <7.3)
no description available
Submitted by
Hatch
-
7 years ago
2017-04-10 03:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
flight number
PCRE (PHP <7.3)
recognize a flight number define in wikipedia and capture carrier code and flight number. source
Submitted by
anonymous
-
7 years ago
2017-04-10 02:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CSS - match syntax (experimental)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-09 20:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
HTML - matches start tag with specific attribute
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-09 17:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
HTML - matches start tag with specific attribute
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-09 17:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
HTML - matches specific HTML tag pair including attributes in the tags.
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-09 17:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
HTML - matches close part of specific tag pair
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2017-04-09 17:48
1
...
450
451
452
453
454
455
456
...
688
Remove Corrupt indents
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(
(
[
[:alnum:]
]
[
[:punct:]
]
\t
)
)*
(
(
[
]
)*
)
(
(
.
)*
)
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
7 years ago
2017-03-02 20:30