Greetings of the day
As this day starts with the below dataset df with roughly 1000+ rows
S.No Names
1 Hello Arun
2 Hello,Kamal
3 Hello Nazi
4 Hello:Ganesh
5 Hello*vishnu
I need to count Names column and only the second word in it but i have special characters involved in it
I have tried stringr package but don't know exactly to apply them.
I need my output as like below
S.No Names count
1 Hello Arun 4
2 Hello,Kamal 5
3 Hello Nazi 4
4 Hello:Ganesh 6
5 Hello*vishnu 6
Thanks in advance