> Steve Thomas wrote: > >>/htt(?:p|ps):\/\/.*?\/.*\.com$/i >> > > Why not /https?:\/\/.*?\/.*\.com$/i
Because I always forget that the question mark can be used that way, and if I can't seem to remember it, nobody else gets to use it! That's why. :) Nice catch. Steve "atrophying perl skills" Thomas