I want to split text by regex between character "@" and list of characters ([,.!?{} ]). Example, i have the next text
@test, @{@test2, dasdas. @test3?} @test4? @test5!
and i want to get the next array:
- test
- test2
- test3
- test4
- test5
I try to use the next regular expression
/@(.*?)[,{} !?.]/
but it return incorrect array.
Could someone help me?