I would like to tokenize the following string.
“I went home with Mark’s brother, to play a video game.”
result should be like this.
I
went
home
with
Mark
'
s
brother
to
,
play
a
video
game
.
Can you please tell me how to do it using regex.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you really want the
,,.and'as separate tokens, you could split like this: