entrée HTML Regex uniquement nombres

<!--The tag below uses a regex-->
<input type="text" pattern="[0-9]*" />

<!--The same effect can be achieved by using type number tag-->
<input type="number" />
Wissam