Can't handle with regexp, could you provide some hint? : I need to split this string by space:

```
<i>Lorem</i> 1 <span class="text-danger">ipsum</span> dolor sit amet, consectetur adipisicing elit. Animi consequuntur, eos? Error facere maiores minima molestiae obcaecati, quis voluptatum. Aspernatur cumque doloremque ducimus eos explicabo facilis fuga, nulla quos voluptate.
```
The difficulty is that I also have html tags inside.


I tried something like this, but it takes spaces as well
```
/<(.*?)>(.*?)<(.*?)>|\w*(.*?)(?:\s*?[,?.-])?/g
```

Could you please help to fix my regexp?