A sample text:

`field1=value1` and `field2=[field2Value]` or `field3=field3Value`

I would like to get those separately:

* `field1=value1`
* `and`
* `field2=[field2Value]`
* `or`
* `field3=field3Value`

Note that the text can't start/end with 'or' or 'and' for example these texts should fail

**Ex1:** `and field1=field1Value`

**Ex:2** `field1=field1Value and`

Here what I got so far <https://regex101.com/r/TEQujk/1>