View Single Post
  #1  
Old 08-19-2016, 06:44 AM
raistlin raistlin is online now
Registered User
 
Join Date: 11-14-2008
Posts: 23
Regular expression for Replace in Files

Hi Kinook,


I have a hard time trying to figure out what's wrong with my regex.
I am removing lines in AssemblyInfo.cs that matches this regex:

Code:
(.*)?\[assembly:(.*)?Assembly(FileVersion|Company|Copyright|InformationalVersion)(.*)
This worked on several tools i used to develop the regex but when ported over to VBP, it kept giving me issues like this:

Code:
Error expanding macros or script in property Find: (.*)?\<Error parsing script at position 86>
I tried to work on escaping "[" without avail. Help please? Thank you.

BR
Lee
Reply With Quote