I need regex that remove all the a tags from html and show the url as text.
for example this text:
abc <a href="http://a.com" target="_blank">bbb</a> ccccccc
will become:
abc bbb http://a.com ccccccc
You could use getElementsByTagName for "a" and getAttribute for "href" or has it got to be a RegEx?
href("http://a.com") come betweenbbbandcccccc?