You're splitting the string on everything that is not a letter. And because you have ...!! in the sentence you got a lot of empty strings. What you want is that it takes the whole group (...!!) and split on that. You can achieve that by adding a quantifier.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Joined: Aug 27, 2010
Can you please give me a regular expression having quantifier and serving my purpose