I am attempting to remove extra spaces and other characters from a attribute entries. I was able to find small script that does the job but in python.
For Example:
point_NAME (Before Processing)
A B C Bank , DreamTown
point_NAME (After Processing)
ABC Bank, DreamTown
I am able to detect the points which have these extra spaces and I am attempting to pass these on to pythoncaller transformer.
I want to use this syntax in python caller. Can someone help me out?
import re
string4= "POI_Name"
print (re.sub(' +', ' ',string4))
Thanks for all the help in advance!! :)
@takashi @david_r @Mark2AtSafe @MarkAtSafe