This content has been marked as final.
Show 1 reply
-
1. Re: Using GREP to eliminate some hyphenations?
[Jongware] Dec 10, 2008 12:09 PM (in response to RodneyA)No, it would take separate search-and-find operations to apply "No Break" to some parts and not to others.
But you can easily search for email and hyperlinks with GREP. I have an enourmously complicated search (on another machine, sorry), but the basic idea is for emails,
>[-_A-Za-z0-9]+(.[-_A-Za-z]+)*@[-_A-Za-z0-9]+(.[-_A-Za-z0-9]+)+
(effectively, any combo of "xxx@yyy" with optionally periods before and repeated periods afterwards), and
>(http://)?www[0-9]*.[-_A-Za-z0-9]+(.[-_A-Za-z0-9/]+)+
for hyperlinks.
It'll take some tweaking to get every possible hyperlink (I don't think that's actually possible) -- take, for instance, a "www3." address. My own hyperlink search even can find php parameters, the stuff after a '?', but that makes it way less reliable and I have to manually check each one.


