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

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support