You should probably use ( ) and add Si to strip control-codes and make the match case-insensitive.
Code:
on $+1:TEXT:/(http|https|www\.|\.com)/Si:#:{
  .timerlink1 1 2 msg $chan .timeout $nick 1
  .timerlink2 1 2 msg $chan $nick $+ : Please ask before posting links, thank you.
}