Aisha Srivastava

Aisha Srivastava

  • NA
  • 230
  • 28.7k

Regex

Apr 19 2015 3:21 AM
want regex of  all paragraph in the document with inline style..
<p >(.*?)</p>   this regex give the simple paragraph with no style 
<p>.blah blha bhlah ..</p>
 Above regex works but if we insert a style/or any tag in opening tag of "p " it does not work eg.
<p style=background:red>This is a paragraph.</p> 
want regex for this ...with any style in p tag opening

 

Answers (4)