Not able to extract specific data from PDF

thanks @Gokul_Jayakumar . I managed to extract the specific data by using indexof instead of regex expression.