I try to split this sentence:
use will effect the Project's reputation, your right to copy and
to the words:use
will
effect
the
Project's
reputation
your
right
to
copy
and
I'm using line.split("[\\p{Punct}\\s\\p{Digit}]+")
but it's splitting the word Project's
to Project
s
.
I try to subtract '
like this : line.split("[\\p{Punct}\\s\\p{Digit}]+&&[^']")
but it is not working.
Also, I need to split words that start/end with '
character.
Is there a way to do it?
Thanks.