in reply to Replace a pattern in each file
G'day nayabrahil,
The problem is the " $_" near the end of "s#<--/--a8300-->.*?<--/a8300-->.##isg $_;".
-- Ken