View Single Post
  #1 (permalink)  
Old December 18th, 2008, 05:52 PM
eruditionist eruditionist is offline
Authorized User
Join Date: Sep 2008
Location: , , .
Posts: 56
Thanks: 0
Thanked 1 Time in 1 Post
Default 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?

Reply With Quote