I have a file with several elements, for example
--ERROR--- Failed to execute the command with employee Name="shayam" Age="34"
--Successfully executed the command with employee Name="ram" Age="55"
--ERROR--- Failed to execute the command with employee Name="sam" Age="23"
--ERROR--- Failed to execute the command with employee Name="yam" Age="3"
I need to extract only the name and age of those for whom the command has been executed. in this case I need to extract shayam 34 sam 23 yam 3. I need to do this in perl. Many thanks.
source
share