For example, I got something format like this:
link://thisIsAction?param1=value1¶m2=value2
and it may have one param like this
link://thisIsAction?param1=value1
or don't have any param:
link://thisIsAction
How can I extract the thisIsAction
, and the param
, and value
?
The param
may not start with the prefix param
, it may just simple as p
.
And I want the param and value return in a dict... How can I do so? Thanks.