i have html string in the below way
<p>[[customer.Name1]]<br />[[customer.Name2]] <br />[[customer.Address1]] <br />[[customer.Address2]]<br/>[[customer.City]], [[customer.State]]</p>
iam getting value in html string in below way
<p>XYZ<br /> <br />NC ROAD <br /><br />LOS ANGELES, TX</p>--
In the above html string some values are blank like [[customer.Name2]] is blank here and also [[customer.Address2]] is balnk here..... in tht case i want to remove break
actual result
XYZ
NC ROAD
LOS ANGELES,TX
I WANT THE RESULT IN THE BELOW WAY ..PLS HELP ME OUT.....
EXPECTED RESULT
XYZ
NC ROAD
LOS ANGELES,TX