To remove any text becore patterrn “pvm” in all lines of file, you need to apply following vi editor command.
%s/^.*pvm/pvm/g
🙂
“.” represend any single chanracter occurance.
To remove any text becore patterrn “pvm” in all lines of file, you need to apply following vi editor command.
%s/^.*pvm/pvm/g
🙂
“.” represend any single chanracter occurance.