I am writing a code that is going to read string and has to know if it is made up of letters or is a punctuation or not. for eq: (string refers to ( and string as 2 different entities.
I have already set a delimiter with
String DELIM = "[\\s\\-\\.\\'\\,\\?\\,\\_\\@\\#\\(\\)\\;]+";
but code still treats , *, / as string made of letters rather than punctuation.
How could I edit my Delim to be able to change that?