in reply to Required help on substitution using a string in perl
It seems your variable $abc is a multiline string, i.e. there are \n inside. So probably you can just delete anything starting with your search string to the next \n. Surely your teacher showed you how to specify "anything"
|
|---|