I need a script that evaluates the tags that suround a text :
<p><font color="black">text before link<a href="#">link</a>text after link</font></p>
Concrete: I need to know if "link" text is suround only by tags or it has other texts nea him , like "text before link" or "text after link".
Is there any script made for this or has somebody a goof ideea about how to manipulate the text to find out where tags are present there?
thanks,
ionut
<p><font color="black">text before link<a href="#">link</a>text after link</font></p>
Concrete: I need to know if "link" text is suround only by tags or it has other texts nea him , like "text before link" or "text after link".
Is there any script made for this or has somebody a goof ideea about how to manipulate the text to find out where tags are present there?
thanks,
ionut
Comment