Kill whitespaces in extraction

Hi i have a string that i extract from a pdf file, this has worked perfectly for 6months, but now its decided to put a whitepspace infront of the word, how can i remove that whitespace ?

to remove whitespace use the trim option.

1 Like

@langsem You Should provide the PDF and indicate what you’re trying to extract and what methods you have used to extract it before. :sweat_smile:

thanks the above works, i have a regex replacement function, but it works when i trim it twice

1 Like