Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to remove special characters from a title automatically throughout the document?

New Here ,
Feb 03, 2021 Feb 03, 2021

Hello

I created a PDF document with acrobat pro and there are several special characters in the box names.

This crashes the application in which I integrate the PDF, so I have to remove all the special characters:


.
/
-
_
^

 

Do you know how I can automate the deletion of special characters? Is it possible?
Because I am removing everything one by one but I have hundreds of records to modify.

 

Thank you in advance for your help.

 

Have a nice day

 

Capture d’écran 2021-02-03 à 17.57.39.png

TOPICS
Edit and convert PDFs , General troubleshooting , How to , JavaScript , PDF forms
3.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 03, 2021 Feb 03, 2021

You can't change field names with a script. You can create fields with the new name and delete the old fields.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 03, 2021 Feb 03, 2021

Thank you for the quick response.

I can now select several boxes and name them differently:

instead of :
name.1
name.2
name.3
...
name.50

automatically replace with :
name1
Name2
Name3
...
Name50

?

Because the problem with "create a copy of a field" in acrobat is that the names all do :
.0
.1
.2

Is there a way to create copies but without the . ?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 03, 2021 Feb 03, 2021

As mentioned, you can duplicate the field with the new name, and then delete the old ones. You can't rename them directly. However, doing so will cause all associated scripts (such as Format, Validation, Calculation, etc.) to be lost.

 

I've developed various (paid-for) tools that allow you to do just that. You can find them here:

https://www.try67.com/tool/easily-rename-pdf-fields

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 03, 2021 Feb 03, 2021

Thanks

Do you have videos that show how your tools work please?

"However, this will result in the loss of all associated scripts (such as Format, Validation, Calculation, etc.).".
It doesn't matter because I didn't put anything on the box.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 03, 2021 Feb 03, 2021

I don't have such videos, but I can assure you it works.

Contact me privately to discuss it further, please.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 04, 2021 Feb 04, 2021
LATEST

Thanks,

 

I have written you a private message so that we can talk about your product.

don't hesitate to give me your availability to organise a conference call.

Have a nice day

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines