Jan 19, 2007 #1 M Mondeo Centurion Joined Nov 10, 2006 Messages 128 Location Sunny Lancashire First time with regular expressions, I want to match strings that contain .com OR .co.uk OR .info How do I go about that? Thanks
First time with regular expressions, I want to match strings that contain .com OR .co.uk OR .info How do I go about that? Thanks
Jan 20, 2007 #2 I IngisKahn Contributor Joined Jan 9, 2005 Messages 431 Location Philadelphia, PA Do you mean contains or ends with? The $ at then end means ends with. Code: .+(?:(?:\.com)|(?:\.co\.uk)|(?:\.info))$
Do you mean contains or ends with? The $ at then end means ends with. Code: .+(?:(?:\.com)|(?:\.co\.uk)|(?:\.info))$