Page 1 of 1

multi-line wildcard find and replace

Posted: Tue Jun 10, 2008 10:32 pm
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.

Re: multi-line wildcard find and replace

Posted: Wed Jul 01, 2009 3:27 pm
by zootycoonvn
Up for roman answer