I'm going to suggest this regex:
s|<!--#include virtual="/global_nav_[\w]+\.ssi"-->||g
which essentially replaces the matched value with nothing throughout the file (i used '|' as the regex delimeter to save ourselves from having to escape all the slashes inside the regex. also, append 'i' after the regex if you want your case insensitive matching again). This is also assuming there is ALWAYS another word at the end of "global_nav_" otherwise the [\w]+ should be a [\w]*.
In reply to Re: Removing include files
by AidanLee
in thread Removing include files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |