I have a number of string like this:
var info = "Information4Table"
var next = "Joe5Table"
var four = "ERweer11Table"
var nice = "ertertertn14Table"
I want to parse out the number between the first word and the string Table. So for the first item, I want to get 4 and in the last I would want to get 14. What would be the best way to do this in Javascript/jQuery?
You can use a regular expression to get the number from the string: