I am going to remove [[ this is a test ]] from the $line? I am looking for how to remove the pattern [[.*]] from multiple lines my approach $line =~ s/\[\[[^\]]*\]\s*\]/ /msg; but it is not working. Can someone have any idea here? Thanks in advance!$line = "this is a test [[ this is a test ] ]";
Added code tags and [ entities - dvergin 2002-04-24
In reply to substition in multiple lines by yangtse
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |