troubleshooting Question

RegEx - Helicon Tech ISAPI Re-Write

Avatar of ddayx10
ddayx10Flag for United States of America asked on
Regular ExpressionsASP.NET
2 Comments1 Solution540 ViewsLast Modified:
I am doing some URL re-writing. Using an old method with IIS6 on this server. Using Helicon Tech ISAPI_Rewrite (may help knowing what regex engine is).

Trying to match for this string:
International/Default.aspx?id=International%2fDefault

Basically I want to capture that and rewrite it to just default.aspx.

Problem....regular expressions drive me crazy for some reason. The simplest things always seems to be filled with caveats!

As soon as I introduce the "?" in my regular expression it will not match...argghhh.

Regular Expression Sample:
International/Default\.aspx\?

String:
International/Default.aspx?

NO MATCH :(

Can anyone point me in the right direction here?


ASKER CERTIFIED SOLUTION
pmasotta

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros