http://www.perlmonks.org?node_id=679880


in reply to Need help with replace or substitute

Actually, I see your problem right away.
You have no code.

perl needs code to run before it will do anything useful. Which is funny, because most perlmonks want you to write some code before they'll do anything useful.

Take a look at perlre then write some code. Then ask a question.

grep
One dead unjugged rabbit fish later...