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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.