I\'m trying to write a regular expression using the PCRE library in PHP.
I need a regex to match only &, > and < cha
&
>
<
Would it be possible to intercept the text before it tries to become part of your XML? A few ounces of prevention might be worth pounds of cure.