I have a paragraph. The paragraph contains normal words and also contains some link. This is for example :
@zzz http://pbs.xx.com/xxx/x/xx_xx.jpg RT @yyyy_y: Foto Bareng zx, vc: Politik Boleh Beda Tapi Silaturahim Jalan Terus https://er.dfo/gffggf
What i need is to count each words based on white space. So if there is a link, that link will be count as 1 word.
So the result will be like this : @zzz = 1, http://pbs.xx.com/xxx/x/xx_xx.jpg = 1, RT = 1 @yyyy_y: = 1, foto = 1, bareng = 1
And so on..
Is it possible ? How ?