I have 2 types of strings. One of them has only 1 space and the second one has 3 spaces.

* V1: `"100 s"` => 1 space. Number followed by a letter. Number can be 1..n digits.
* V2: `"2 W 10 h"` => 3 spaces. Each number is followed by a letter. Again numbers can be 2..n digits.

I need to get rid of the spaces following the numbers. So the end results should be this:

* V1: `"100 s"` -> `"100s"`
* V2: `"2 W 10 h"` -> `"2W 10h"`

For now, I use JavaScript split function. However I need regex to replace in a more efficient way. Could you help me with that? Thanks. 

```
const getDelayValue = delayString => {
    const splitted = delayString.split(/\s+/);
    if (splitted) {
        if (splitted.length === 2) {
            return `${splitted[0]}${splitted[1]}`;
        }
        return `${splitted[0]}${splitted[1]} ${splitted[2]}${splitted[3]}`;
    }
    return delayString;
}

```