Canuckkev Doctor Hexagon NLC Feb 21, 2004 #1 Okay, I am trying to match a string like: viewtopic.php?t=142&start=30 And am using this regex: (?<!/)viewtopic\.php\?t=([0-9]*)&start=([0-9]*) But, it's not working...any ideas? Thanks!
Okay, I am trying to match a string like: viewtopic.php?t=142&start=30 And am using this regex: (?<!/)viewtopic\.php\?t=([0-9]*)&start=([0-9]*) But, it's not working...any ideas? Thanks!
Canuckkev Doctor Hexagon NLC Feb 21, 2004 #3 Yea, I guess that would help...it's php. But, I figured out what was wrong (even if I still don't fully understand). I turnedthe & into & and it works.
Yea, I guess that would help...it's php. But, I figured out what was wrong (even if I still don't fully understand). I turnedthe & into & and it works.
bloodyveins New Member Feb 22, 2004 #4 (?<!/)viewtopic\.php\?t=([0-9]*)&start=([0-9]*) Click to expand... I suggest: $regex = "viewtopic\.php\?t\=[0-9]+\&start\=[0-9]+$";
(?<!/)viewtopic\.php\?t=([0-9]*)&start=([0-9]*) Click to expand... I suggest: $regex = "viewtopic\.php\?t\=[0-9]+\&start\=[0-9]+$";