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 11,540 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Publicidad
PCRE (PHP <7.3)
Expresion regular para encontrar la palabra publicidad en los correos.
Submitted by
ajnocdor
-
8 years ago
2015-08-20 16:19
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Match 3 Repeating Numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-20 16:07
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Worldmodel ID
PCRE (PHP <7.3)
Matches any worldmodel ID, and captures the class and instance numbers.
Submitted by
J. Van Schoor
-
8 years ago
2015-08-20 15:07
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
url validation
PCRE (PHP <7.3)
matches http/https/www or without, also validates encoded
Submitted by
_sss_
-
8 years ago
2015-08-20 13:10
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
UAE phone numbers
PCRE (PHP <7.3)
no description available
Submitted by
sathik ali
-
8 years ago
2015-08-20 12:35
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
catch Loadcase Name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-20 09:15
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
polish post code
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-20 08:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
open_knowledge
PCRE (PHP <7.3)
no description available
Submitted by
stephan.mueller@openknowledge.de
-
8 years ago
2015-08-20 07:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regex subtitle Add
PCRE (PHP <7.3)
Add 9 seconds to subtitle timing with Regex if feasible.
Submitted by
V.S.
-
8 years ago
2015-08-19 19:38
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
XenForo Add version Number to Footer
PCRE (PHP <7.3)
If using XenForo create a TMS (template adaption) for 'footer', select RegExp and enter this. Possibly you have to replace the \n in the substitution with real new lines so just press enter there.
Submitted by
rugk
-
8 years ago
2015-08-19 16:17
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
C2D: Call reference
PCRE (PHP <7.3)
no description available
Submitted by
EnigmaSoft
-
8 years ago
2015-08-19 15:12
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
C2D: Callee
PCRE (PHP <7.3)
no description available
Submitted by
EnigmaSoft
-
8 years ago
2015-08-19 15:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
C2D: Callee
PCRE (PHP <7.3)
agent extension external agent
Submitted by
EnigmaSoft
-
8 years ago
2015-08-19 15:06
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
C2D: Outbound_id
PCRE (PHP <7.3)
no description available
Submitted by
EnigmaSoft
-
8 years ago
2015-08-19 15:02
1
3 upvotes, 2 downvotes (score 23.1%) (You must be signed in to vote)
Get src in img
PCRE (PHP <7.3)
Get src in img
Submitted by
Andy
-
8 years ago
2015-08-19 13:33
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Search tags "a" and get link and text from tags
PCRE (PHP <7.3)
Search group "link=>text" in tags "a"
Submitted by
Andy
-
8 years ago
2015-08-19 10:46
11
16 upvotes, 5 downvotes (score 54.9%) (You must be signed in to vote)
Codice fiscale
PCRE (PHP <7.3)
Check "codice fiscale"
Submitted by
Luca
-
8 years ago
2015-08-19 10:43
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
aabc lazy capture
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-08-18 20:55
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Simple Telephone number regex
PCRE (PHP <7.3)
It accepts phone numbers of the form 0XX XXX XX XX (stylized here, it doesn't really accept spaces). Also, it can detect the international area code (e.g. +41 OR 0041 for Switzerland). It's not a good idea to rely on the groups (because they do not work for this reason. At ALL.
Submitted by
Adowrath
-
8 years ago
2015-08-18 18:08
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Cleaning up epub converts
PCRE (PHP <7.3)
no description available
Submitted by
Cory
-
8 years ago
2015-08-18 15:06
1
...
517
518
519
520
521
522
523
...
577
TimeFormatParser
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(
.
*
?
)
(
H
{1,2}
)
(
(
.
*
?
)
(
M
{1,2}
)
(
(
.
*
?
)
(
S
{1,2}
)
(
.
*
?
)
|
.
*
)
|
.
*
)
$
/
m
Open regex in editor
Description
Loading markdown...
Submitted by
Fausto A. Guerrero
-
8 years ago
2015-07-21 20:43