Remove all HTML tags like or <p> from string. I used below code but it's not working.
var content = "<p> test result</p><br/>"; // My String
content.replacingOccurrences(of: "<[^>]+>", with: "", options: String.CompareOptions.regularExpression, range: nil)
but it does not remove all HTML tags from string.