This is probably stupidly basic, but I can't find the solution for the life of me. (Yes I've already search SO for answers.) I have the following regular expression: /([^0-9.]+)/
and when run against the string '53624.4sadca4234foobar.234'
, it matches 'sadca'
but not the 'foobar'
. I want it to match any character that is not a number or decimal point.
What is the correct way of doing this?