or<body>
What would be a proper regex to match either of the above. I have tried<body leftmargin=0 bgcolor="red">
Any suggestions?$new content = "Test String"; $string =~ /(<body\s.*>)/$1$newContent/i;
In reply to Regular Expressions by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |