I have strings like: '1234picas' '1234 px' '145.4us'
I want to split them in two parts: the numeric part and the non numeric one. For example: '1234.4us' need to be splitted in '1234.4' and 'us'. I am tempted to insert a separator between the last digit and the non numeric and use split but is there a better way to do this in JavaScript
Thanks
Note: this is not the slitting of a string at special char. it could be converted to that but this is what I am trying to avoid.