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




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



In your case

(?<=Delivered : ).{8}


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