<div dir='auto'>Hi,<div dir="auto"><br></div><div dir="auto">Have a look to re:split then.</div><div dir="auto"><br></div><div dir="auto">Something like "(<[^>]+>[^<]*<[^>]+>)" should do the job. Sorry I am not front of a computer right now, so could not test my proposal but may gives you a start anyway. </div><div dir="auto">Oh oh oh !</div></div>