Regex Extracting Year from Word Document and Output in Excel is always 0!

Hi all, I am trying to extract year from word document. Its always in this format:
Year: blank space here unlimited (any number)
Here is my code: “(?<=Year:)\s+[0-9]{1}”
My xaml file is hereSyllabusRetrieval.xaml (17.8 KB)
, I assigned it to be an integer as default as when its being stored as string i get empty outputs. But when its integer the output is 0. I even tested my regex code on regex tester and its working fine but it does not work in uipath. What am I doing wrong here anyone help me please?