Mondeo Posted January 20, 2007 Posted January 20, 2007 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 Quote
IngisKahn Posted January 20, 2007 Posted January 20, 2007 Do you mean contains or ends with? The $ at then end means ends with. .+(?:(?:\.com)|(?:\.co\.uk)|(?:\.info))$ Quote "Who is John Galt?"
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.