I need a regex to match the groups of characters in a string.
For example this is-a@beautiful^day
.
Should result in the following list: this
, is
, a
, beautiful
, day
.
As a mention I don't know how long the string is or by what characters the words are separated.
Any ideas? I have no clue how to build a regex for this.