From: Arun Kumar Date: 2009-03-28T18:07:10+09:00 Subject: Regular Expression interesting problem Hi, I'm learning about regular expressions right now for a html scraping based assignment. But now I've reached a problem. Given below are two different html tags. Now what i want is to capture the href-url if the type = "application/rss+xml". It seems to be simple but it is the position of the 'type' that creates the problem. In first tag the 'type' is after href and in the second the 'type' is before it. It seems to me as an interesting problem, but i need help for solving it. Please help me. Regards Arun Kumar -- Posted via http://www.ruby-forum.com/.