Skip to content
the poor coder

Home / Topics / #java-string-tokens

#Java String Tokens

1 post
2020

Hackerrank Java String Tokens Solution

Given a string, , matching the regular expression [A-Za-z !,?._'@]+, split the string into tokens. We define a token to be one or more consecutive English alphabetic letters. Then, print the number of tokens, followed…

ESC