replace text in PDFs by sript

Hello

I have a lot of pdf files.

There is a phone number that needs to be changed.

Is it possible to do that using a script or another type of automation?

Thank you.

It can probably be done in Acrobat Pro using an Action and a script, but a large number of files in Acrobat to treatment is problematic.

You would probably need a stand-alone tool to do.

Tags: Acrobat

Similar Questions

  • Rectangles, replacing text in PDF files

    Recently, I started having a problem with vertical rectangles replace text in my PDF files.  I always see when I try to combine PDF files.  The files seem to be fine, but after I complete the merge, the pages now have vertical rectangles.  The problem was reported a couple of weeks, when my users have reported what seemed like PDFs "corrupt".  I have now discovered thaqt the problem is much more common that I suspected.  I thought I could just replace the corrupted pages, but when I replace the corrupted pages (or remove and then insert), new pages will be rectangles.

    I tried several versions of Adobe Reader and on a variety of devices.

    PDF sample.jpgAny help would be greatly appreciated.

    Example above.

    This happens sometimes when you don't have the original embedded fonts. In the file that shows rectangles, is there a list of fonts under file > properties > tab fonts that are not embedded?

  • How the process of searching / replacing text within brackets ([])

    Hello

    How the process of searching / replacing text within brackets ([]).

    I want to make the process so that the replacement inside text: ([]) this particular color and style of a particular paragraph.

    You try this option: (-[]) ([*. * \w*\d*)(\])

    Unfortunately, the process was not successfully that entirely, it does not determine if there is more than one paragraph.

    File test installation with photos.

    Sorry for mistakes in writing, I don't know English well.

    PDF + INDD

    http://www.up-00.com/?ggcf

    http://www.up-00.com/?QBcf


    Fonts:

    http://www.up-00.com/?ABcf

    Test_3.png

    Test_2.png

    Test_1.png

    Relevant if no Notes: (?s)\[.+?\]

    If not, this regular expression could play the game:   (?s)\[(~F?. *?) +\]

  • I had the previous version of the Adobe Reader software, and I put in the comments of the editor. As reove, replace text, etc. And now with the new version of Adobe reader, they seem to have disappeared all of them, except perhaps the reminder.

    I had the previous version of the Adobe Reader software, and I put in the comments of the editor. As reove, replace text, etc. And now with the new version of Adobe reader, they seem to have disappeared all of them, except perhaps the reminder.

    Hi Mariam,

    Please try this:-with your PDF document open, click on the "comment section" on the side right of your document, under "list of comments", click the "Filter comments" icon and choose "View all comments" or "hide all comments.

    I would like to know if it works.

    Kind regards

    Nicos

  • Batch replace text (making translations) in 50 + nearly identical documents?

    Can I batch replace text for multiple PDF files at the translation of the same titles of 50 +? Only some values/numbers differ in each document.

    I'm new to Acrobat, and I'm currently a little copy and paste between my first translation of a document and those that I have not yet translated.

    No, and you should not attempt to translate a PDF file directly. This type

    work needs to be done on the original file format, then a new PDF file

    must be created.

    Tuesday, March 3, 2015, at 15:33, josteinb80906302, [email protected]>

  • Just updated to IOS 10 and replace text does not work

    Just updated to IOS 10 and replace text does not work.  For example typing in omg should show oh my God. Has anyone else got this?

    I did the old thing: Disconnect to iCloud and sign back in. Unfortunately, he did not turn. The same thing happened on my iMac when upgrading to Mac OS Sierra - I lost all my text replacement. I also did Disconnect from iCloud and inback Panel . Unfortunately, it also didn't do the trick. Anyone know how to restore the replacement text. It is not has resided in the cloud?

  • Why is the replacement text is always visible when an image is displayed (for example, Dropbox and Google mail)?

    When I go to my Dropbox page or my page of Google mail, both images for icons AND their replacement text is indicated (I tried to upload two images illustrating this but "Upload image" seems to have hung). I use the latest version of Firefox for Linux.

    'cor - el' is a reasonable estimate, BUT I didn't

    • 'browser.display.force_inline_alttext '.

    in my file "prefs.js". I had:

    • user_pref ("dom.disable_image_src_set", true);

    When I removed that, all problems are gone I had with images and alternative text showing simultaneously.

    Thanks to 'Sir.Mayo' and 'cor - el' for their contribution to this thread and motivate me to find out what was wrong! I hope it will be useful to someone else in the future...

  • Replacing text OS works is not in Outlook 15.22

    I've upgraded to the latest Outlook for Mac, a week or two it y a. I noticed that the keyboard replacement text I put in place ' System Preferences > keyboard > text ' stopped working completely in Outlook. Although they operate elsewhere, safari, notes, etc.

    Seeing as I type the same phrases every day in emails, I have created a large number of replacements like "tyfye", which is replaced by 'Thank you for your e-mail', it saves me a lot of time.

    This work is no longer in the latest Outlook. I tried marketing and auto power off fix in Outlook - it makes no difference.

    If anyone can help, I would be happy to hear from them

    Thank you

    Hey Jonathan. I noticed the same thing when I upgraded the prospects of 15.22! Fortunately, we are not alone. It seems that Microsoft has completely reorganized and changed the outlook Editor to compose new e-mail messages. Rather than use whatever the editor, they were before, they now use the engine from the Microsoft Word Editor. This means that any text of replacement and the correction spelling tools now align with Microsoft Word, rather than the system, which is unfortunate.

    There are a couple of threads here on the Microsoft Web site, thus:

    https://community.office365.com/en-us/f/153/p/443446/1132560

    https://community.office365.com/en-us/f/153/t/443212

    And users complaining of similar problems. Fortunately, one of the sons would recommend a solution: Downgrade to Outlook 15.19.1.

    For now, it can be downloaded from this old Microsoft KB article:

    https://support.Microsoft.com/en-us/KB/3134241

    I just downloaded Outlook, moved the new Outlook upgrade to the trash and reinstalled. I have my tools to extract text works again and the former publisher of return! And will not be updated Outlook until this problem is resolved. Give it a try.

  • 'Replace text' - Kommentarwerkzeug

    Hallo,

    ICH finde seit dem Programmupdate von Adobe Acrobat das 'replace text' last - Kommentarwerkzeug nicht mehr! WO ist das denn too?

    ES kann doch wohl nicht breast, dass dafur ab sofort nur noch das 'durchstreichen text' - Kommentarwerkzeug available are soll? (Und warum denn auch - das andere Hat doch bisher gut works?)

    Echt of Wenn so ware, dann ware das jetzt bad ein Kontrastfarbe Ruckschritt - denn so weit waren wir vor Jahren schon hurt some...

    Danke,

    BO

    Hi BO-HL,

    There are a few changes to the annotation tool. You can select the text and then right-click on it, you will get "Add a note to replace the text" option in the drop-down list.

    Refer to this thread for more information:

    'Enable shortcuts for text correction.

    Commenting tools disappeared in the update

    See also this KB doc for more information: Annotations: Text Correction commenting Tools Update

    Kind regards

    Meenakshi

  • Find and replace text with formatted text.

    I am trying to replace the text ' ^ 2 ' with '2' on photoshop by a search and replace, because there are many cases that on my image, but I can't seem to access any feature in photoshop which can do a search and replace for anything other than simple text. Is there a css solution, or a plugin that would allow me to do this? I have not sought on anything either on google search, although I will update this thread if I find something

    Google found this discussion Forums Adobe with different versions of the script.  I don't know exactly what made the script, but maybe it would work.  You probably want to make a backup of your documents before you run it:

    Find and replace text in multiple files from Photoshop?

  • Replace text (I'm getting error then replace text envelope) can someone help me

    var active_doc = app.activeDocument;
    var dlg = new Window('dialog', 'TEXT REPLACE');
        var gro =dlg.add('group');
        gro.orientation = 'row';
           
        var Orderno = gro.add('StaticText' ,{x:10,y:40,width:70,height:20});
        Orderno.text = 'TEXT :';
        var OrdernoValue = gro.add('EditText',{x:10,y:40,width:100,height:20},"");
        OrdernoValue.text   = OrdernoValue.value;
         
        var g_btn = dlg.add("group"); 
        var btn_ok = g_btn.add("button", undefined, "Ok"); 
        var btn_ccl = g_btn.add("button", undefined, "Cancel");
        btn_ok.onClick = function()
        { 
            if(Orderno)
            {
                dlg.close();
            }
            else
            {
                return;
             }
         }
    dlg.show();
    replace(/TEXT/gi,OrdernoValue.text);
    
    
    function replace(search_string,replace_string)
    {
    var text_frames = active_doc.textFrames; 
    
    if (text_frames.length > 0) 
    { 
        for (var i = 0 ; i < text_frames.length; i++) 
          { 
              var this_text_frame = text_frames[i]; 
             
               var new_string = this_text_frame.contents.replace(search_string, replace_string); 
                
               if (new_string != this_text_frame.contents) 
                   { 
                        this_text_frame.contents = new_string; 
                   } 
          } 
    } 
    }
    
    

    Perhaps this snippet of script will help you a bit:

    // select one envelope text
    var sel = app.activeDocument.selection;
    app.executeMenuCommand ('Release Envelope');
    var sel2 = app.activeDocument.selection;
    sel2[1].contents = (sel2[1].typename == "TextFrame") ? "NEW TEXT" : sel2[1].contents;
    app.executeMenuCommand ('Make Envelope');
    

    Have fun

  • To convert text to PDF files in ADOBE FLASH PLAYER?

    I bought a book EBOOK version that allows me to read on the site in the form of FLASH PLAYER.

    uneasy reading my e-book and I would like to convert the PDF file of the text file.

    I also ADOBE ACROBAT PRO DC knows how to convert different formats of files in PDF format

    To convert text to PDF files in ADOBE FLASH PLAYER?

    Can convert the text displayed in ADOBE FLASH PLAYER to PDF file.jpg

    I think they may have chosen Flash especially so that you cannot save a copy. Although Acrobat can convert Flash files (it cannot) you couldn't get the Flash site as a file for conversion. (I hate these books in this way, I also prefer to work with a PDF file. Some people really feel it's better for their users, but I think it's people who don't actually use books).

  • editing text in pdf format

    Hello. I have problem with my PDF files. My client can not editing text in my pdf in Acrobat Reader ms. I have newest thx CC.

    Hi Adamek, Jiri

    I'm sorry, but it is not possible to change the text in a PDF document using the player.

    You'll need to install and use the Adobe Acrobat software for the same thing.

    Reference: Edit text in PDF, Adobe Acrobat files

    Kind regards

    Ana Maria

  • Can I make the recognition of text on PDF files in order to be able to cut and paste on their part on my iPad?

    can I do the recognition of text on PDF files so that I can cut and paste on their part on my iPad?

    Hi Stuart,

    You can perform the OCR using Acrobat desktop approx. You can copy - paste PDFs on the iPad but not to cut-and - paste text.

    Kind regards
    Rahul

  • Find and replace text in documents invisibly

    Hello

    here in this forum I found the Russ find/replace function in ExtendScript, with which you can find and replace text. The script works perfectly when the documents are opened. In the case of invisibly open documents, that the script does not work since TextSelection is obviously applied. Refer to link:

    https://forums.Adobe.com/message/4032650#4032650

    I want to find and replace text within a structure of book, it would be useful if I could do it in documents that are not visibly open (Constants.FS_MakeVisible = false). Does anyone have an approach to find and replace in documents that are not visibly open? Or can someone confirm that this is only possible with TextSelection, which means that it does not work in documents open invisible?

    Thank you very much!

    Concerning

    Apollo102

    Apollo,

    I looked into this and I was able to reproduce the problem. Unfortunately, I wasn't able to find a perfect solution. Running in the debugger, I found that the failure occurs with the Find() call. All paragraphs, the text ranges, etc. are valid... it's just that the Find() call fails to find anything.

    I found that if you turn on/off the display, all of a sudden the Find() operation works with the hidden document:

    doc. IsOnScreen = true;

    doc. IsOnScreen = false;

    I don't know if this is a practical solution and of course, you may as well open visible in the first place. Would be of no help to just disable the updates with the interface?

    App. Display = false;

    Just be sure to return true at the end of the script

    I'm sorry I couldn't find a complete solution. It might be possible to appeal to something that makes the hidden document searchable, but I did not understand it.

    Russ

Maybe you are looking for

  • How I with what appears to be a false security Mac WARNING?

    When I load Safari I have what appears to be a security warning false telling me to connect to iskbusinesstechnology.com.433 and call 1-888-442-8745 for immediate assistance.  Is this a scam or what?

  • How can I import from Outlook 2007 when the option is grayed out?

    I'm moving from Outlook 2007 to Thunderbird. All is well until now, but I need to import my old mails from Outlook. When I go to tools > import > Mail I get options for Eudora, Outlook, and Outlook Express. Eudora and Outlook options are grayed out.

  • Problem with iMac Start Up - file flashes and no sound

    Hello. I was using my iMac mid 2007 earlier today, when he started to slow down, with the color wheel appearing whenever I tried to click on something. I left only for a few seconds, thinking that he just needed some time, before the screen went all

  • Satellite P200 - BIOS did not recognize my usb 3.5 drive "

    HelloI have a few years ago:Satellite P200-1FYReference: PSPB6E-0QR035FR I just bought a new hard drive WD20EARS (2 TB) 64 MB of RAM,and I connected on an external box SATA USB3 (closed hot 'cc'), so plugin on my toshiba via USB (USB2.0 card) I parti

  • Restore itunes after installing new hard drive

    Very well. I have a HP DV2726ca the HARD drive was not. I have several external hard drives. I backed up my music folder and then just copied the contents of the folder this music in the new music folder. When I open iTunes I see not those exclamatio