Skip to main content
Inspiring
September 29, 2024
Question

Symbol java script

  • September 29, 2024
  • 2 replies
  • 608 views

Hello 

Any one can help me 

Generate Java script 

To remove Symbol when I am going to pad at failed at pdf.

Such as 

Take copy of name from word 

Tom_Henry/Kathleen

When I paste at pdf 

I need to be shown without any symbol

Tom Henry kathleen

This topic has been closed for replies.

2 replies

Nesa Nurani
Community Expert
Community Expert
September 29, 2024

Why not remove it in word before copy?

PDF Automation Station
Community Expert
Community Expert
September 29, 2024

Enter the following custom validation script in the field:

 

event.value=event.value.replace(/_/g," ").replace(/\//g," ");

ali_3480Author
Inspiring
September 29, 2024

Many thanks sir

You slove big problem for me 

ali_3480Author
Inspiring
September 29, 2024

It is Working 

I use your script and add all symbols need to understand shown and I put space between " "

It is shown as above example

Tom Henry kathleen

Many thanks