RK
"text": "So fun kicking off the @microsoftstore Insider Series with @ijustine Episode one is posted and filled with deals… and giveaways*. Link in bio. #MicrosoftStorePartner \n.\n.\n.\n*50 US (+D.C.), 18+. Ends 12/31/20."
Size: a a a
RK
RK
PB
preg_match_all('/@\w+/ig', $string, $matches)
— концепт такой, а дальше надо паттерн проверятьPB
RK
/@\w+/ig
');RK
RK
preg_match_all('/@\w+/ig', $string, $matches)
— концепт такой, а дальше надо паттерн проверятьRK
PB
RK
Str::of('So fun kicking off the @microsoftstore Insider Series with @ijustine Episode one is posted and filled with deals… and giveaways*. Link in bio. #MicrosoftStorePartner \n.\n.\n.\n*50 US (+D.C.), 18+. Ends 12/31/20.')->split('/@\w+/i'))
RK
PB
RK
Gt
Str::of('So fun kicking off the @microsoftstore Insider Series with @ijustine Episode one is posted and filled with deals… and giveaways*. Link in bio. #MicrosoftStorePartner \n.\n.\n.\n*50 US (+D.C.), 18+. Ends 12/31/20.')->split('/@\w+/i'))
"/\B@[^\B]+/"
Gt
PB
RK
preg_match_all('/@\w+/ig', $string, $matches)
— концепт такой, а дальше надо паттерн проверятьRK
Str::
of($str)->matchAll('/@\w+/i')
RK
PB