Can somebody please help me creating a GREP style to reformat all the website adresses in my layout?
i've got text client full webadresses, end .com or .nl , highlight these adressess in bold , blue... created textstyle thing manage result beginning of website 'www.' know it's possible skills lacking in departement...
can me getting started...?
it easy as
\bwww.+?(\.com|\.nl)\b
were not this:
holloweaver wrote:
some end .com or .nl
... others not? well, thing left highlight www's:
\bwww.+?\b
hm, doesn't work. \b (word break) stops @ every hyphen , period. let's try
\bwww\s+ nope. picks following commas , parentheses. let's include alphanumerics. oh, , period. oh, , hyphen:
\bwww\.[-.[:alnum:]]+
aargh! picks period after url. alrighty, split in 2 parts. first halve contains period well, second halve not:
\bwww\.[-.[:alnum:]]+[[:alnum:]]
matching urls using grep 1 of dark arts, , "one grep rule them all" not gonna work.
More discussions in InDesign
adobe
Comments
Post a Comment