Jim Beard wrote: > m_asynchro = m_asynchro.replaceAll("\\c<\\c;", "<"); > m_asynchro = m_asynchro.replaceAll(">", ">");
I don't know Java, but I think you want this. m_asynchro = m_asynchro.replaceAll("\\<\\;", "<"); m_asynchro = m_asynchro.replaceAll("\\>\\;", ">"); m_asynchro = m_asynchro.replaceAll("\\&\\;", "&"); This should also work. m_asynchro = m_asynchro.replaceAll("<", "<"); m_asynchro = m_asynchro.replaceAll(">", ">"); m_asynchro = m_asynchro.replaceAll("&", "&"); http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html#sum Extra credit question: Why translate ampersands last? -- Bob Miller K<bob> [EMAIL PROTECTED] _______________________________________________ EUGLUG mailing list euglug@euglug.org http://www.euglug.org/mailman/listinfo/euglug