I have a regex that replaces the link from the moment http to the occurrence of certain characters in [], I would like to add to these characters - that is to replace the string with the occurrence of certain characters or a hard space:
"https://test.pl'".replace(/https?:\/\/[^ "'><]+/g," ")
Works fine for the characters mentioned in [], I don't know how to add here