I’ve got the following file: http://pastebin.com/PZYSv1i3
Every line in this file ends with an apotrophe as a seperator. I’m in need of a RegEx that matches every apostrophe between IMD+F++::: and the seperator (‘).
I’ve got the RegEx below to match all the text between the IMD+F++::: and the following seperator, but I’m in need of a RegEx that fetches only the excess apostrophes.
(?<=IMD\+F\+\+:::)(.*?)(?='\n)
The below regex in .NET :
will match only the “extra” apostrophes that you wish.
Explanation :