Hello how can I do to replace some part of my link by example JS
I need to change the 2 "90" to "160"
Hello how can I do to replace some part of my link by example JS
I need to change the 2 "90" to "160"
You can use replace
let url = 'https://meusite.com.br/arquivos/ids/785837-90-90/arquivo'
let newUrl = url.replace(/90/g, '160')
console.log(newUrl)