Planet PDF Forum Planet PDF Forum
  New Posts New Posts RSS Feed - Remove Punctuation
  FAQ FAQ  Forum Search   Register Register  Login Login

Hi, welcome to the Foxit Planet PDF Forum. If you have PDF or Adobe Acrobat questions then the right place to ask them is here, in this forum.

Remove Punctuation

 Post Reply Post Reply
Author
281Blue View Drop Down
New Member
New Member


Joined: 30 Oct 2014
Location: AZ
Points: 4
Post Options Post Options   Quote 281Blue Quote  Post ReplyReply Direct Link To This Post Topic: Remove Punctuation
    Posted: 30 Oct 2014 at 9:32pm
Thanks. I think we figured it out. Making some changes to the form, adding suffix fields and just running some simple removes. 

I appreciate your offer!
Back to Top
try67 View Drop Down
Senior Member
Senior Member


Joined: 15 Jul 2011
Points: 634
Post Options Post Options   Quote try67 Quote  Post ReplyReply Direct Link To This Post Posted: 30 Oct 2014 at 8:49pm
As mentioned, this would require quite a complex, custom-made script.

If you're interested in someone creating it for you (for a fee), feel free to contact me privately.
- Acrobat Expert - Contact me personally at try6767@gmail.com
Check out my custom-made scripts website: http://try67.blogspot.com
Back to Top
281Blue View Drop Down
New Member
New Member


Joined: 30 Oct 2014
Location: AZ
Points: 4
Post Options Post Options   Quote 281Blue Quote  Post ReplyReply Direct Link To This Post Posted: 30 Oct 2014 at 2:39pm
So far, nothing. Just getting started. Debating if I should force a suffix field, but that does not address the absolute last name problem.
Back to Top
aandi View Drop Down
Senior Member
Senior Member


Joined: 07 Jul 2011
Points: 18358
Post Options Post Options   Quote aandi Quote  Post ReplyReply Direct Link To This Post Posted: 30 Oct 2014 at 2:12pm
It's a pretty big job. What do you have so far?
Back to Top
281Blue View Drop Down
New Member
New Member


Joined: 30 Oct 2014
Location: AZ
Points: 4
Post Options Post Options   Quote 281Blue Quote  Post ReplyReply Direct Link To This Post Posted: 30 Oct 2014 at 1:53pm
Hello, 

i'm new to pdf scripting and was wondering if someone could help me out, please.

I made a form that has a field for the first name and a field for the last name. 

I would like to combine the data from those two fields into a third field, called "file name", which will denote how the ID photo file should be named. 

In the combination process, certain filters need to be applied to each field. In the end, the file name is the first initial, plus the last name. 

The issue is dealing with punctuation, suffixes and hyphenated last names.

Some Examples:

First: John 
Last: Doe
File: jdoe

First: John
Last: Doe Jr.
File: jdoe
* Removes suffix and punctuation

First: John
Last: Doe II
File: jdoe
* Removes suffix

First: John
Last: Doe-Ray
File: jray
*Uses the absolute last name in hyphenated names

First: John
Last: La Ti Do
File: jlatido
*In multi-word last names, spaces are removed

First: John
Last O'Doe
File: jodoe
*Removes punctuation from last name

Thanks for the help.

 

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.10
Copyright ©2001-2017 Web Wiz Ltd.

This page was generated in 0.063 seconds.