0 steave ray posted What is the method to remove only numerical values from the end of a string in Python? for suppose var d='1 is more than 2' and i want to remove 2 from end of the above javascript string varable Edit Question