I have this string ?foo=bar&language=fr&bar=foo
or this string ?language=fr
I want to capture (fr) so i did the below:
/language=(.*)(?:\&)?/
A link for the regex, https://regexr.com/440ga
I have this string ?foo=bar&language=fr&bar=foo
or this string ?language=fr
I want to capture (fr) so i did the below:
/language=(.*)(?:\&)?/
A link for the regex, https://regexr.com/440ga