in reply to Re: Question for regex expertsin thread Question for regex experts
You need to implement a lookup table that contains a list of all possible, or otherwise a subset, of HTML character codes.
Therefore, each time your program encounters
code;
&code;