title: Removing emojis from variable
body: <p>I'm using Smarty to pass in and display the contents of a <code>first_name</code> variable. Some users have Emoji characters (<a href="http://en.wikipedia.org/wiki/Emoji" rel="noreferrer">http://en.wikipedia.org/wiki/Emoji</a>) in their <code>first_name</code> and I am wondering how I can either a) conditionally not display a user's <code>first_name</code> if it contains emojis or b) filter out emoji characters from <code>first_name</code>. Can this be done with Smarty? Can it be done with PHP in Smarty?</p>