parsing - Java delimiter pattern for whitespace & punctuation? -
what expression scanner delimiter pattern using whitespace , punctuation without including \n? need mine read paragraph in txt file , able ignore spaces , punctuation, keep track of line number
well simple group of of them:
pattern = "[ \\t\\.,:;\\r]"
Comments
Post a Comment