Question: I would like a regex which will split a string at every `"."` except if the `"."` is preceded AND followed by an number. example:

`"hello world.foo 1.1 bar.1"` ==> `["hello world","foo 1.1 bar", "1"]`

I currently have: 

```
"(?<![0-9])\.(?!\d)" 

```

but it gives: 

```
["hello world", "foo 1.1 bar.1"]

```

but its not finding the last `"."` valid.

Answer: 
A non-| approach:

```
(?<![0-9](?=.[0-9]))\.

```
Just for the sake of contributing the shortest solution, here is mine:

(it is simply @ysth's solution with a small adjustment)

`(?<!\d(?=.\d))\.`

[working fiddle](https://regex101.com/r/duW7M8/2)