From: William James Date: 2005-10-25T19:02:02+09:00 Subject: Re: Simple regex question Todd wrote: > Hello, > > Sorry to waste your time with this, but I'm new to regular expressions. > I, simply want to grab the text between two html tags: > > various characters and whitespace Dog Eggs > various characters and whitespace > > I want a regex that notices the "title" id and grabs Dog Eggs for me. > I have one that works, but it's really kludgey. > > Thanks, > Todd DATA.read.scan( /id="title">(.*?)Platypus Eggs various characters and whitespace Bird Teeth