From: Mehdi Karamnejad Date: 2009-12-16T00:38:25+09:00 Subject: regexp to pars a HTML tag value I want to replace the value inside a HTML tag with another value using gsub function and regexp,what is the best regexp for this purpose? puts MyStr.gsub(/"What Should Be the Regex?"/, "NewValue") example: