<div dir='auto'>Hi Pierre,<div dir="auto"><br></div><div dir="auto">No this way you are loosing html tags.</div><div dir="auto">Lloyd wants to keep html tags, including linefeeds inside html tags.</div><div dir="auto"><br></div><div dir="auto">I tested with re:split(Html, "(<[^>]+>[^<]*<[^>]+>)",[{return, list}]) .  Works. </div><div dir="auto">Lloyd can then loop on result and keep only non empty string after trim on elements. </div><div dir="auto">Regards </div></div>