I have file wich has many lines inside
All lines that contain
it needs to be stripped to this format
i am executing perl in bash somethin like this
perl -i -pe 'regex' /localpath/file.txt
In perl command above in 'regex' i would need command to do it, how to do it ?