Hi, I'm trying to replace 3 characters in a string as part of an automation condition. What I want to do is find each { } ~ and replace any of them with a space. My comment.body string will have multiple occurrences of those characters throughout.
effectively I'm trying: {{comment.body.replaceAll(REGEXGOESHERE, " ")}}
I want to use ({|}|~) in place of REGEXGOESHERE
When I try this it fails to get the comment body.
Any thoughts?
was able to get the Regex to work with [{}~] instead.
[\{\}\~]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.