4
Answers

manuplate string in a specific tag in html file

Photo of darma teja

darma teja

12y
1.9k
1
Hi,

I have an html file, In which i have many "a" tags.

example: <a href="http://www.w3schools .com">Visit W3Schools.com!</a>

I want to replace back space with "-" and the final output will be like this www.w2schools-.com 
<a href="http://www.w3schools-.com">Visit W3Schools.com!</a>

Thanks

Darma

Answers (4)