JS - Block user from typing phone number : <p>I have a booking website like AirBnB and my users can exchange message between each other in my website.</p>

<p>I would like to block my users from exchanging telephone number and email address in these messages.</p>

<p>The way I am using is to look for 4 numeric digits together or @ and delete these before it sends the message.</p>

<p>Please, is there a better way to do it?</p>

<p>Thanks.</p>
