Im trying to extract some data from .doc files..im able to open and read but i got an issue in extracting...when my search pattern is matched i need to print the contents which is present in the next cell in the document(TAB)...
DATA:- Username: Password:
Username is in one cell and Password is in another cell...once username is matched i have to press tab to go to next cell...similarly how can i get the data from the next cell using perl...
Search Pattern:- for ($i = 0; $i <@array; $i++) { if($array[$i] =~ /Username\s*:\s*(.+)/) { $result = $1;
$arrayi contains the data of the document file...Thanks monks...
In reply to Extracting data from table by rajkrishna89
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |