Skip to main content
Inspiring
November 6, 2022
Question

find hyperlinks with find/change

  • November 6, 2022
  • 3 replies
  • 508 views

Is there a way to use find/change to find hyperlinks. I want to apply styles to hyperlinks to something imported from word that is in a bit of a mess. Or is this sort of thing only possible with scripts?

This topic has been closed for replies.

3 replies

pixxxelschubser
Community Expert
Community Expert
November 7, 2022

Maybe it helps a little: For example, you can try to catch many www addresses with the following grep

w{3}\.\S+\.\w{2,5}\S*\b

 

If not, then we need some sample addresses that are not found.

pixxxelschubser
Community Expert
Community Expert
November 7, 2022

You can usually simplify this work by using one or more grep searches (depending on the structure of your hyperlinks) to find the hyperlinks document-wide and assign a character style.

MrZZYAuthor
Inspiring
November 6, 2022

Never mind, figured out how to mass change the style in the hyperlinks panel. That panel is very unpredictable, it doesn't sort by name well (gets the numbers wrong) and also always seems to end up with the first item selected after each edit. Most odd!

Robert at ID-Tasker
Legend
November 7, 2022

You need leading zeros - header05, header06... header12.

 

MrZZYAuthor
Inspiring
November 7, 2022

Thanks. That decision (leading zeros) was made by the person who put together the word doc. It's a shame indesign isn't a bit smarter about this, or at least had an option. Still, there was a way to do this ultimately. Got to love how InDesign is at least very flexible, if it doesn't do it exactly how you might prefer, there's often another approach. That's when this forum is often really useful 🙂 So much experience in one place.