View Single Post
  #7  
Old 26.11.2017, 07:56
madmax2 madmax2 is offline
JD VIP
 
Join Date: Sep 2009
Posts: 385
Default

Quote:
Originally Posted by tony2long View Post
In regular expressions, the period (., also called "dot") is the wildcard pattern which matches a single character. Combined with the asterisk operator .* it will match any number of characters.

So try .*?youtube.*

The hidden link: regex101.com
okay I tried the website and the regex you gave..
it looks like you don't need the question mark..why did you add it to beginning but not the end of that regex?

e.g.
.*?youtube.*?

this regex matches the 5 example links I posted above

.*youtube.*

====

also why does the forum hide links?
Reply With Quote