Find and replace bookmark text

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: Daniel - PDF-XChange, PDF-XChange Support, Vasyl - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

Post Reply
MedBooster
User
Posts: 1372
Joined: Mon Nov 15, 2021 8:38 pm

Find and replace bookmark text

Post 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
My wishlist https://forum.pdf-xchange.com/viewtopic.php?p=187394#p187394
Disable SPACE page navigation, fix kb shortcut for highlighting advanced search tool search field, bookmarks with numbers, toolbar small icon size, AltGr/Ctrl+Alt keyboard issues
User avatar
rakunavi
User
Posts: 1657
Joined: Sat Sep 11, 2021 5:04 am

Re: Find and replace bookmark text

Post 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

    This is a GIF animation. Click to play.
    This is a GIF animation. Click to play.
I hope this will help.

Best regards,
rakunavi
TOP desires for PDFXCE
forum.pdf-xchange.com/viewtopic.php?t=39665 LassoTool
forum.pdf-xchange.com/viewtopic.php?t=38554 CmtGarbled
forum.pdf-xchange.com/viewtopic.php?t=37353 FulScrMultiMon
forum.pdf-xchange.com/viewtopic.php?t=41002 DisableTouchSelect
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19822
Joined: Mon Jan 12, 2009 8:07 am
Contact:

Re: Find and replace bookmark text

Post 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
Post Reply