Well from a quick glance I can see that you are escaping characters inside your regex character classes which probably don't need to be escaped. So, try removing those no-useless-escape
s:
let https://forum.tuteehub.com/tag/url">url = /^(?:http(s)?:\/\/)?[\w.-]+(?:\.[\w.-]+)+[\w\-._~:/?#[\]@!$&'()*+,;=.]+$/
manpreet
Best Answer
2 years ago
I am using thing url regex validation and also have eslint integrated in project.
But when I compile my code getting below errors">errors