This one's a bit offtopic too :-)
But you might want to take a look at some very useful code that will help you
do this at the RegExp project at Apache:-
http://jakarta.apache.org/regexp/index.html
Hope this helps
- Danny
> HI all
>
> Can somebody tell me how to replace a string like I have a < and I want to
> replace all contained in a document for &anp;lt;
>
> Thanks
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html