Break a string using patter

using patterns is it possible to cut a string? I want to label just the access token value.
Example:

/api/v1/documents?access_token=ssshhh-ddds--aaasd-ddasdasd 

access_token_label: ssshhh-ddds–aaasd-ddasdasd

regex is probably better for this than pattern, something like:

.*\?access_token=(?P<LABEL>.*)
1 Like

thank you so much @tonyswumac … it’s work properly…