Got more questions? Find advice on: ASP | SQL | XML | Windows
Welcome to RegexAdvice Sign in | Join | Help

Parse a URL after .asp?

  •  05-04-2010, 12:22 PM

    Parse a URL after .asp?

    I'm new to regex so please forgive if the solution is really simple.

    I need a plain expression that matches or extracts (not sure if I'm using the correct terminology) a string of 8 digits from the end of a URL. I need to insert the expression into an off-the shelf software application that will compile various types of lists for me.

    The values for the match would be for the 8 digits in: domain.com/foobar/event_date.asp?RequestID=20100402. This didn't work: ^\?RequestID=[0-9]{8}$

View Complete Thread