I have a project where I’m trying to read all files in a folder and remove specific text between the given symbol.
I have a text file that contains text within #! and I would like to remove all text within #!
What I have so far,
The expression I have is : System.Text.RegularExpressions.Regex.Replace(txtinput,"(?<=#!).*(?=#!)"," ")
The current output I get,
thanks for anyone who can help