I don't know what you want to do. I didn't even read yourpast posting.Could you tell me what you want to achieve? and maybe also yoursourcecodes?Fyi, you can do regular expression since jdk 1.4 if i am not wrong.so why not try that?