For example ,
str="dddabc
d
e
xxxx
123
345"
,want to replace "abcde" with null .
New str need to be
"ddd
xxxx
123
345"
What is the easy way to do it ?
If I drop the new line , the new string will be dddxxxx123345 , and that wrong
This need to be on linux so it \r\n maybe