From: Nanyang Zhan Date: 2007-04-10T22:00:47+09:00 Subject: Re: regexp -how to match this? Rick Denatale wrote: > (?= must occur just after what has been matched, but it will not be part > of the match itself. so ?= makes pattern lookAHEAD. How to make pattern lookBEHIND? for instance: example sentence: This forum is connected to a mailing list that is read by thousands of people. question: how to make a Regexp to match the words followed by the tag? a /<\/span>.*/ will include the tag, which isn't what I want. -- Posted via http://www.ruby-forum.com/.