in reply to regex help

Your question is poorly stated. If you always want "/ASP/scripts/homesites/" then you could just set a variable to that. You wouldn't need a regex. So, I suspect that you want to match a certain class of strings.

That could be a class of strings that always consists of the 2nd through 3rd directories in the path component of a URI. That could be a class of strings that consists of "/ASP" followed by two more directories. etc. etc. etc.

What do you really want to match? Can you provide more examples?

-sauoq
"My two cents aren't worth a dime.";