I Have faces a issue with removeing alignment In HTML document.
 <html>
  <head>
  </head>
  <body>
    <p style="margin-top: 0" align="center">
      Hello World
    </p>
    <p style="margin-top: 0" align="center">
      Java World
    </p>
  </body>
</html>
My Issue is how to remove alignment of first paragraph with out affecting second paragraph . If I use regex it will it will remove alignment of second para also. I really appricite you any comment regarding this issue.
                        
Use the replaceFirst function.