Hello @Prabhasb !
Your Regular Expression pattern is wrong, the *
is a quantifier and not a placeholder. Your pattern should throw an error, because the first *
doesn't quantify anything. The second *
quantifies the 8
and means, that character can occur zero or more times. The backslash
and .
signs do have also special meanings. Visit the provided Link for a deeper insight.
You could try the following patterns \\v4\.8
and targetFramework="net48"
. Every line with the occurence of \v4.8
or targetFramework="net48"
will be not transferred.
Best whishes
PS: And you need the automatic variable $_
, only $
should throw an error, too.
---
If this answer was helpful, accept and upvote it please.