Remove HTML remove aligment using Java -
i have faces issue 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 how remove alignment of first paragraph out affecting second paragraph . if use regex will remove alignment of second para also. appricite comment regarding issue.
use replacefirst function.
Comments
Post a Comment