Hi,
I just want a simple regex to do three things
1. take out the part between
<body> ... </body> tag in an HTML file.
2. replace every relative image url with its full url
<img src='aaa.jpg'> to be <img src='3. Replace every relative url with its full url
<a href='aaa.htm'> to be <a href='
I will then put the result back into my own header and footer tag, but that's an easier thing afterward.
if anyone can help put, I would like to appreciate. cheer
kevin
I just want a simple regex to do three things
1. take out the part between
<body> ... </body> tag in an HTML file.
2. replace every relative image url with its full url
<img src='aaa.jpg'> to be <img src='3. Replace every relative url with its full url
<a href='aaa.htm'> to be <a href='
I will then put the result back into my own header and footer tag, but that's an easier thing afterward.
if anyone can help put, I would like to appreciate. cheer
kevin