A code snippet to take all number off a string using JavaScript
<script> var MyString = "Tutorials1P2anel3"; stringOnly = MyString.replace(/[0-9]/g, ''); alert(stringOnly); </script>
You can replace the alert with anything else that would fit your coding needs.