i want to remove every string starts with one or more \ and follow with n.
For example:
input: {\n\n abc \\nb\\\ncc}
expect output: { abc bcc}
In javascript it works with regex /\\+n/g
But it doesn't work in swift:
str.replacingOccurrences(of: "\\+n", with: "", options: .regularExpression)