I'm trying to create an object that has the + sign in the name (CN). I
tried using the replace all function to replace + with '+ but it doesn't
work. This is the message returned:
An invalid regular expression '+' is specified:
java.util.regex.PatternSyntaxException: Dangling meta character
It works well the single quote character, which sometimes appears in the
name i.e. replace all ' with ''.