How to write regular expression to get date beside on specific text

uiautomation
studio

#1

HI,

I want to retrive the date beside exact text from pdf. For example -In our PDF it have
" Delivered: 07/10/17", I need to extract date which is beside text “Delivered”. I think regular expression patter will help, I tried with it but not able to get the exact regular expression. Can anyone one solution any best solution

Thanks


#2

In your case

(?<=Delivered : ).{8}


#3

You can even split it on “:” to get the date.