Regex to Filter string with unicode characters and emojis for java : <p>I'm developing a Spring boot chat application. How can I create a regex to achieve followings,</p>

<ul>
<li>Remove special characters</li>
<li>remove newlines tabs etc..</li>
<li>Accept Unicode characters</li>
<li>Accept for emojis</li>
</ul>

<p>further,
DB tables <code>CHARACTER SET</code> <code>utf8mb4</code> and <code>COLLATE</code> <code>utf8mb4_bin</code>.</p>
