Javascript – how to get number from string without regex
Without using regex, is there a way to get number from a string in JavaScript? For example, if input is "id is 12345", then I want 12345 number in output. I know a lot of regex solutions, but I am…