java - How to ignore <BR> tag while printing in console -
i trying print table having 1 column heading - assigned <br> on
. when printing table heading in console, due br tag, entire table not getting printed in desired structure. till reaches assigned, printed in 1 line, on goes down line. structure of table not in correct format. using selenium webdriver , goal print table same structure displaying in web page. not finding way how ignore <br>
tag.
check string regex replacement may help:
string teststring = "abc/d <br> ff</br>"; teststring = teststring.replaceall("<br>|</br>", "");
Comments
Post a Comment