I my trying to write regex on my flutter application. I have this text:
@rtt tty tr@fh @rggg
I want to just split @rtt , @rggg so I add this regex pattern: ^@(\S+).
But this pattern just split first matches: @rtt. https://regex101.com/r/p2K9Yy/1
How can I write a pattern to split all matches ?