From: "F. Senault" Date: 2007-03-31T00:45:15+09:00 Subject: Re: Regex Black Magic... how to stop matching if char? Le 30 mars � 17:34, Jon a �crit : > ..because there is no gauranteed whitespace between tags. Basically, I > need to stop matching if a ">" is found. I've never had to deal with > anything quite like this in my regex experience. Any help or thoughts of > a better way to do things is much appreciated! I'd simply use /<[^>]+\s+(\d+):(\d+)>/ (untested, but you get my drift)... Fred -- > Microsoft sucks, sucks, sucks. Which wouldn't be such a bad thing, if it were cuter, didn't use its teeth at inopportune moments, didn't hog the bed, cooked well, and had good taste in films. Sadly, that's not the case. (Dan Birchall, SDM)