Rewrite RegEx not capturing querystring
2 posts
• Page 1 of 1
- anavagomez
- Posts: 3
- Joined: 21 Jan 2015, 15:50
Rewrite RegEx not capturing querystring
I am trying to create a Rewrite condition using the Test Utility, but it is not capturing the parameter after the question mark.
RegEx:
^/shop/cart-sale.htm/?\?(.*)$
Test String:
/shop/cart-sale.htm?id=25MSNVEN
Match Results:
$0: /shop/carhartt-sale.htm
$1:
Format String:
/tech/cart.htm\?$1
Could someone please lend me a hand trying to understand what I am doing incorrectly?
Thank you very much.
Best regards.
RegEx:
^/shop/cart-sale.htm/?\?(.*)$
Test String:
/shop/cart-sale.htm?id=25MSNVEN
Match Results:
$0: /shop/carhartt-sale.htm
$1:
Format String:
/tech/cart.htm\?$1
Could someone please lend me a hand trying to understand what I am doing incorrectly?
Thank you very much.
Best regards.
Re: Rewrite RegEx not capturing querystring
Hello,
RegEx testing tool is not comprehensive and it can't capture query string by design.
It's for basic rules only...
RegEx testing tool is not comprehensive and it can't capture query string by design.
It's for basic rules only...
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 6 guests