Regex Help Needed
Posted on 2012-04-04
Can anyone tell me how to write a regular expression that will find the following text in a text file? The catch is that the 47 will always vary. The rest of the line will always be exactly as shown here.
I'm using this snippet in a C#.NET console application to read text files, and replace the string with no characters so it deletes it.
string filePath = "c:\\36866f-dmh.txt";
.Replace("<regex goes here>", "")