I'm looking to extract a query value q= from a URL using Excel. The main challenge I'm facing is that the query value isn't always in the same position. I can have multiple parameters before or after the query value. All I know is that I need to start from the &q= position, and end at the next & symbol, or the end of line if no other & follows.
For example: in the URL below, I'm looking to extract the query value of: This_Is_My_Query_value
http://www.example.com/somepage?param1=one¶m2=two¶m3=three`&q=This_Is_My_Query_value`&A=Z&B=y&C=ahUKEwjS09bhyPD1AhVihOAKHTQyBeEQwL
Query string splitter:
'param1':one'param2':two'param3':three'q':This_Is_My_Query_value'A':Z'B':y'C':ahUKEwjS09bhyPD1AhVihOAKHTQyBeEQwL