not able to add forward slash in regex
I have a requirement where <br> needs to be replaced with <br/> so I am doing this in my regex
$htmlstring =~ s/br>/br/>/;
This is not working and I am sure I am doing this wrong. Could someone tell me wha tthe syntax is please?
thanks.
|