Recursive Conversion

Mar 31, 2009 at 7:41 AM
I am using the IIRF Rewriter  and I have a Query as below

RewriteRule ^/BZ/([^/]+)/([^/]+)/([^/]+)/Default.aspx /BZ/ContainerURLRewrite.aspx?module=$1&$2=$3

which checks if the URL contains BZ and it has other parameters and ends with Default.aspx then Generate a URL with BZ/Container with the paramater as Query string. This Works fine

When I pass the URL


It Generates the URL as


Which is Correct. But the Number of Parameters between BZ and Default.aspx will be N. How to write a Query so that it will be applied for all the parameters. How to write a recursive Query.

I have also looked the Thread 
But not able to modify for my Need.

Please help me.