I have this string

my $str =
'aaa
--%%
bbb
%%--
ccc
--%%ddd%%--';

And I need to remove every thin bettewin '--%%' and '%%--'.
Lets say /--\%\%[^\%]*\%\%--/ works more or less. The problem is if I have

my $str =
'aaa
--%%
b%b
%%--
ccc
--%%ddd%%--';

Who can I resolve this problem?

Thanks
Marcos

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to