Hi there, this is my first post. My current assignment is to pull a complete website (35KB), and to format it so that it's email-compliant with the various flavours of clients out there.
So, naturally the first thing I'd like to remove is <script>stuff</script> - be it on one line, or spread over multiple. I've tried the following catch-all, and it works for one-liners, but not the tags over multiple lines: RE reg = new RE(beginDelim+"[\\n]*[:alnum:]*[:alpha:]*[:blank:]*[:cntrl:]*[:digit:]*[:graph:]*[:lower:]*[:print:]*[:punct:]*[:space:]*[:upper:]*[:xdigit:]*"+endDelim, RE.MATCH_MULTILINE); where beginDelim = "<script" and endDelim = "</script>" I thought that the RE.MATCH_MULTILINE or even the [\\n]* or [:space:] might cover multiple lines. Thanks in advance! Juan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]