How can i prevent alphabet get into input telephone using boostrap 4

How can i prevent alphabet get into input telephone using boostrap 4
0

#1
<h5>Tel  <input class="form-control" type="tel" value="" id="example-tel-input"></h5>

#2
<input type="tel" pattern="^[0-9\-\+\s\(\)]*$" placeholder="Telephone Number" required>

Found it here https://martinwolf.org/blog/2015/04/html5-telephone-input-validation