2
votes
4answers
604 views

get querystring using javascript and regex

I will have my url as this: http://mysite.com/results.aspx?s=bcs&k="Hospital" OR "Office" OR "Facility" I want to grab everything after 'k=', excluding 'k=' itself.. And this regex is partially ...
0
votes
2answers
193 views

Redirection using .regex & htaccess to new URL with added query string

Trying to redirect old website blog archives using regex and .htaccess to be found under a new site's main archives using a query string including a category filter. I am trying to make the following ...
0
votes
2answers
939 views

RegEx and QueryString

i have this regex that i use with my website ^.*/([a-z0-9,-]+)/([a-z0-9,-]+)/$ My question is who i can use querystring with my regex, /about-us/contact/?l=en -> page.aspx?id=12&l=en where ...
0
votes
1answer
53 views

Rewrite rule for “/A/B” to “/B?id=A”

I'm tring to rewrite the following URL: example.com/[name1]/[name2] to: example.com/[name2].htm?id=[name1] I'm tring this rewrite rule: rewrite ^/(\d+)/(.+)/ /$2?id=$1 last; but it does ...
-4
votes
1answer
138 views

grab certain part of querystring

My url will have querystring like the following TestPage.aspx?s=bcs_locations&k=userkwd* bcslocationtype:"Hospital" where ?s=bcs_locations will always be the same. there are three checkboxes ...