multi-line wildcard find and replace

General discussions about Advanced Find and Replace
Post Reply
mikeclaymon
Posts: 1
Joined: Tue Jun 10, 2008 10:27 pm

multi-line wildcard find and replace

Post by mikeclaymon »

I need to find the following multi-line text

catch (Exception error)
{
throw new CriticalException(Properties.Strings.*, error);
}
}

where the * sign needs to be a wildcard and replace it with

catch (Exception error)
{
throw new CriticalException(string.Format(Properties.Strings.errError, Name), error);
}
}

I can't seem to get this to work using the Replace tab in AFR. How can this be done? Thanks.

zootycoonvn
Posts: 13
Joined: Mon Aug 20, 2007 9:25 am

Re: multi-line wildcard find and replace

Post by zootycoonvn »

Up for roman answer

Post Reply