Avatar of Member_2_4913559
Member_2_4913559
Flag for United States of America asked on

RegEx - Helicon Tech ISAPI Re-Write

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?


Regular ExpressionsASP.NET

Avatar of undefined
Last Comment
Member_2_4913559

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
pmasotta

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Member_2_4913559

ASKER
Well I was sort of thinking the same thing. Then I was thinking their "tester" was buggy. Now I see that they use a server variable to manage querystrings and you cant properly pattern match beyond the ? so I'm not entirely crazy (except for the fact that Im stuck using this stupid product!).

Anyway I think I can see that this isnt going to fix my original problem anyway, but appreciate you answering so you can have some points :)
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes