Hi,
I test this code on regex test site.
(?<=his birthday:\s)\d{2,3}
And it works fine. i finde the number after the text.
But when i use it in my Matches it dose not work.
I read from pdf.
Any idéa any one?
Hi,
I test this code on regex test site.
(?<=his birthday:\s)\d{2,3}
And it works fine. i finde the number after the text.
But when i use it in my Matches it dose not work.
I read from pdf.
Any idéa any one?
It does not pic up the value from pdf.
I Read PDF Text —> Matches " The code i wrote" ----> For each
I can not give you the pdf. Sorry for that.
Check whether the input string variable from read pdf has any value in it
For validation use a writeline activity before to this matches activity and mention the variable from read PDF so that we can check whether it has value in output panel or not
Cheers @Anders_Dahl
I have check that we have info from the Read PDF Text
The text look like this in the Message box:
his birthday:
1955 year.
And if i do another search with this pattern
(?<=her birthday,\s)\d{2,3}
The text in the message box after the Read PDF Text is as follow
her birthday, 1960 year
This works fine
Fine
Will it be in the same line like this
Or
In the next line like this
Any how in the string Input property if matches activity mention as
String.Join(“”,str_input.Split(Environment.NewLine.ToArray)).ToString
And in the expression property mention as
“(?<=her birthday\W).*\d“
Cheers @Anders_Dahl
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.