Search
 
SCRIPT & CODE EXAMPLE
 

HTML

remove html between 2 tags javas

var myString = "<table><tr><td>Some text ...<a href='#'>label...</a></td></tr></table";
myString += "<table><tr><td>Some text ...<a href='#'>label...</a></td></tr></table";
myString += "<table><tr><td>Some text ...<a href='#'>label...</a></td></tr></table";

console.log(myString);

var anchorTagsRemoved = myString.replace(/<a.*>.*?</a>/ig,'');
console.log(anchorTagsRemoved);
Comment

PREVIOUS NEXT
Code Example
Html :: postcss minify 
Html :: how to align a section center in html 
Html :: Full Form Of RAR 
Html :: <link rel = "icon" href = "logo.jpg" type = "logo" issue 
Css :: roblox player died 
Css :: css limit line text 
Css :: how to make image not draggable in html 
Css :: css var negative 
Css :: css how to make text not break 
Css :: antialiasing css 
Css :: css background image size to fit screen 
Css :: button background color remove 
Css :: css a link remove underline 
Css :: journalctl last 100 lines 
Css :: css inner shadow 
Css :: gradient text 
Css :: 2 lines p css 
Css :: position absolute center with transform 
Css :: how rotate infinity css 
Css :: animation keep end state 
Css :: html center div in middle of page 
Css :: mettre une image au milieu css 
Css :: how to set the first column of the table in center in css 
Css :: center text css 
Css :: css border bottom 
Css :: hover apply lighter color css 
Css :: css link 
Css :: grid center 
Css :: schatten css 
Css :: center div absolute 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =