Hi.
I’m trying to extract data from a PDF-file using Get Text activity and store it in a string/generic variable. When the data contains dashes (this one “-”), they automaticly dissapears.
For example:
“Todays date is 2020-05-27.” becomes “Todays date is 20200527.”
Any takes on this? I think it’s related to Adobe Acrobat.
Is there a reason why you chose to use the Get Text activity instead of using the read pdf activity?
if there isn’t. i suggest you use that instead, and use the links posted above, and if you need help with regex to get the specific text, feel free to let us know.
"Skicka in ditt ärendeNamn Gustav Wendefors E-post mail@gmail.com Partitillhörighet Centerpartiet Välj ditt ärende Avsägelse Ärende gällande
**Detta är en text. Med datum, 20200630. **
**En ny hård rad. **
Ett mellanrum mellan raderna. "
I want to extract the information in bold into seperate variables. How do I do that? The information in bold are different every time, but the other information (not in bold) are the same every time.
I was trying this out but I couldn’t because my studio is set up to run English text so if i copy your text over to my studio it doest recognise it as the correct format to be a string. And i think if i translated the text to english that would defeat the purpose right?
"Send your issueName Gustav Wendefors E-mail mail@gmail.com Party affiliation Centerpartiet Choose your issue Avsägelse Issue regarding This is a text. With date, 20200630. A new hard line break.