Hi all

I’m reading a PDF document to find a number that could be 6, 8 or 9 characters long. The way I’ve done it is it’ll use Regex to find if there’s a number 8 characters long, if not it’ll look for a 9 digit one, then 6:

The result kept coming up as blank so I used write lines to see which path it was following. Evidently, it’s thinking there’s an 8 character match but then the result it write back is blank. In the PDF, there’s a 9 character match, not an 8.

Am I doing something wrong? I don’t understand why, when there’s a 9 character match, it’s thinking there’s an 8 one but then the result is blank?

Thanks!