I have the following string
{token1;token2;token3@somewhere.com;...;tokenn}
I need a Regex
pattern, that would give a result in array of strings such as
token1
token2
token3@somewhere.com
...
...
...
tokenn
Would also appreciate a suggestion if can use the same pattern to confirm the format of the string, means string should start and end in curly braces and at least 2 values exist within the anchors.