danielhozac
Programmer
What I'm trying to do is to get rid of the tag, the whole tag, but the code I'm using obviously doesn't quite work. It removes everything between the start and the end tag, which isn't what I want. This is what I have:
s/\<(\w|(\w\s\w=\"\w(\/|.html)\"
))\>//gi;
As you probably notice this is to remove tags with just one attribute, which is enough at the moment. But how do I get it to just remove the tag?
//Daniel
s/\<(\w|(\w\s\w=\"\w(\/|.html)\"
As you probably notice this is to remove tags with just one attribute, which is enough at the moment. But how do I get it to just remove the tag?
//Daniel