Remove all but 1 type of character from String? : <p>So I'm having some issues with removing all characters except two from a string.</p>

<p>So for instance, if I had the string "Hello World, it's pretty out", and my character was "e" and "h", I'd hope to get the result "hee".</p>

<p>Anyone have any ideas on this? Thanks!</p>
