Menu
Can I please ask what does this regular expression is trying to do:
myDiv.replace(/<h([d])>([^<]+)</h([d])>/gi
I know it searches for header tags that are either h1 through to h6 but it seems very complicated, is there a simpler way to write this regular expression? Let me know if you need more detail.
Eddie