View Single Post
  #3  
Old 26.11.2017, 00:11
madmax2 madmax2 is offline
JD VIP
 
Join Date: Sep 2009
Posts: 385
Default

Quote:
Originally Posted by raztoki View Post
regex you can not use * as wildcard, in regex its used as repeat character (0 to many)
Code:
youtube|dailymotion|vevo
oic, didn't know that..

thanks..
regex is quite complex, learning something new every day..

So is the wildcard in regex = ?

Regex = a?b
matches = aaab, aaaaaaaab

Real Example..

regex = ?youtube?

matches

Code:
https://www.youtube.com
www.youtube.com
youtube.com
youtube.com/?sklajdlksaj
youtubessssss.com

Last edited by madmax2; 26.11.2017 at 00:19.
Reply With Quote