Page 1 of 1

Find and replace bookmark text

Posted: Thu Jan 16, 2025 10:43 pm
by MedBooster
Find and replace bookmark text

How could I just add text to the beginning of all bookmarks using this tool?

E.g.

ProjectA_bookmark1
ProjectA_bookmark2
ProjectA_bookmark3
ProjectA_bookmark4

etc...

It would want it to be applied to all bookmark names

What would you put tin the "find what" field?
image.png
image(1).png

Re: Find and replace bookmark text

Posted: Thu Jan 16, 2025 11:24 pm
by rakunavi
Hello MedBooster,

You could use a regular expression to specify "^(. *)$" as the "Find what" field and specify "ProjectA_\1" as the "Replace with" field. You can also use the "Add Text to Bookmark Title" command.

  • figure.png

    Animation.gif
I hope this will help.

Best regards,
rakunavi

Re: Find and replace bookmark text

Posted: Fri Jan 17, 2025 12:41 pm
by Stefan - PDF-XChange
Hello rakunavi,

Thanks for the post and animation! Greatly done as always!
I too hope that this would help @MedBooster!

Kind regards,
Stefan