Can Any one tell that how can i separate the values in equivalent variable like mob_no= 9810638822
name=PANKAJ KUMAR, emailId=PRIMEXCOURIERS@GMAIL.COM like many more
this is the value
which consist data in string type variable which i shown in msgbox
please resolve my problem
these process is only for contact no… how will be accept address, name, email,
how name will be idntify, how compiler will know that which is name value from these all text,
if i will follow this process for the another mob. from this value then how compiler will find the another value…
@bitubawankar basically what you need to do here is split text by multiple ways at first I would try to get only the data I want into one line. Lets say “Mobile No.: 9810638822” (this will be one line). Then I would split by “:” and then remove the “:”. After that you can search in the array if you find “Mobile”. If I found the text then i will take the next item. That item will be hat you need.
This will work if your data will have the same format.
@bitubawankar or you can do what Pablo said, but you need to make it a little dynamic, instead of “Mobil No.:” you can make a variable where you can put all tags you want to find and in an forEach split the text
Mobile number:
Use Matches activity
Properties
Input : strvalue
Pattern : ((?<=Mobile No.:).*(?=, E-mail:))
Result: iEnumResult ->IEnumberable
after that use assign activity to get the data strMobileNumber=iEnumResult (0).ToString()
Email:
Use Matches activity
Properties
Input : strvalue
Pattern : ((?<=Email :).*(?=Website))
Result: iEnumResult ->IEnumberable
after that use assign activity to get the data strEmail=iEnumResult (0).ToString()
if u have many PDF images it would be too much work do it with OCR. You should use the first example I made, taking the fields that you want to keep of each PDF.
Sorry but I cant give you more ways to do it :(… maybe any other fellow will help you! Keep alert !!