From: Jim Freeze Date: 2003-06-07T05:22:05+09:00 Subject: regexp across multiple lines Hi: I am trying to strip statements, that occur across multiple lines, from an html document. For a on a single line I find that this works: html.gsub(/]*>.*(<\/script>)/i, "") I don't see why this does not work across multiple lines: html.gsub(/]*>.*(<\/script>){1,1}/mi, "") I thought the {1,1} would tell it to match only one . Regexp experts, I welcome your input. -- Jim Freeze ---------- Bumper sticker: "All the parts falling off this car are of the very finest British manufacture"