What REGEX should I use to extract the following parameter from a url string:
/?c=135&a=1341
I basically want to get the value of the a parameter from this string.
Thanks,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want to extract the value of a, and the value consists of one to many digits, this regex should work:
Then use
$matches[1]to display theavalue