'flutter- Regex: split text that started with @
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 ?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
