Dear Mofi,
I have a problem. I have an XHTML file as in attached RAR archive which was later deleted.
I pick the text in between link tag like <a href="#ind@@">state of exception</a> that means 1st pick state of exception text.
After that find this text where in front of this text has id present. The tag is <a id="ind226"/>
text(?!</a>) this kind of find will happen.
I write a find pattern, hope thats help you: <[^<>]*?id="ind\w+"[^<>]*?>
All emphasis tag and page tag will remove before find. But main file have no change. All HEX character present Unicode characters.
I attach a file, we manually edited as the script should do. I hope this sample help you.
I have a problem. I have an XHTML file as in attached RAR archive which was later deleted.
I pick the text in between link tag like <a href="#ind@@">state of exception</a> that means 1st pick state of exception text.
After that find this text where in front of this text has id present. The tag is <a id="ind226"/>
text(?!</a>) this kind of find will happen.
I write a find pattern, hope thats help you: <[^<>]*?id="ind\w+"[^<>]*?>
All emphasis tag and page tag will remove before find. But main file have no change. All HEX character present Unicode characters.
I attach a file, we manually edited as the script should do. I hope this sample help you.