From: Jan Ask Date: 2007-08-05T12:23:06+09:00 Subject: sgub stretching over several lines Hi, I am trying to do a in a replace a long (multiple line) string: string = string.gsub(/<h3 class="field-label>audience<\/h3> <div class="field-items> <div class="field-item>/, '') It somehow doesn't seem to work. I would like to know how to use a wildcard like '*', '%' or '...' like below: string = string.gsub(/<h ... tem>/, '') Thanks! Ask -- Posted via http://www.ruby-forum.com/.