I suspect all of your regular expressions like this:
/([\d|\.]+)/gi
Can be simplified to this:
/([\d\.]+)/
- In a bracketed character class, '|' is literal - not "or". (The whole class is "or'd".)
- Digits and dots (and pipes) have no case, so you can omit the 'i' modifier.
- You seem to be interested in one match, so you can omit 'g' as well.