Java Replace Regex not working -
why doesn't line of code work? it's supposed replace punctuations nothing.
m = m.replace("[\\?\\.;:'\"]", "") m not change after executing line in java though contains punctuations. why?
this because replace takes string; need call replaceall, take regular expression.
Comments
Post a Comment