How do I search/replace multiline expressions?
Posted: Fri Apr 27, 2001 12:00 pm
I want to remove tags starting with <span xxx ending with </span> where xxx can be an expression extending over several lines.
I tried to search for: <span\(.\|\n\)*</span>
but alas: The help file says" \n A new line character, for matching expressions that span line boundaries. This cannot be followed by operators '*', '+' or {}.
Can the task be done?
Thanks for any advice,
Vegard
I tried to search for: <span\(.\|\n\)*</span>
but alas: The help file says" \n A new line character, for matching expressions that span line boundaries. This cannot be followed by operators '*', '+' or {}.
Can the task be done?
Thanks for any advice,
Vegard