From: Trochalakis Christos Date: 2007-06-10T19:50:18+09:00 Subject: regex: get the first match Hello! I want to parse a tagged string like this: "this ismy string" i am doing: >> "this ismy string".scan(/(.*)<\/i>/) => [["this ismy string"]] What i want is a regex that will return the *first* segment that matches. in the above case -> [["this is", "my string"]] Is there any way to do this? Thanks!