Reply To: GREP – Select Website but NOT commas

Home Page / Forums / General InDesign Topics (CLOSED) / GREP – Select Website but NOT commas / Reply To: GREP – Select Website but NOT commas

#63736
kingsigma
Member

Hi, I just realized the backslahes came out. Also, I seem to be able to get it to work if I use TWO expressions instead of one. One changes the e-mail addresses, and the other changes the websites. I can't seem to get them both in one string, though.

(?<=,)(?i)(http|ftp|www)(S+)|(S+)(.gov|.us|.net|.com|.edu|.org|.biz)S+(?=,)

AND

(?<=,)(?i)(http|ftp|www)(S+)|(S+)(.gov|.us|.net|.com|.edu|.org|.biz)(?=,)

Thanks.

This article was last modified on December 12, 2012

Comments (0)

Loading comments...