Ad
  • Custom User Avatar

    For java solutions, replaceAll() doesn´t satisfy all test scenarios, mainly because replaceAll expects a regular expression as its first parameter.
    Therefore inputs like "<[7/f* +]|3>H" wont work as expected. Because it resolves intoa regular expression.

    Another posibility is to use str.replace(charSequence, str)