How GET a parameter from URL by using REGEX or other options

Hello,
Learning the tool and still looking for a tutorial or detail explanation how can I get a parameter/value from the URL and reuse it in one of the application’s fields.
Example:
Get from:
https:///PropertyDetail.aspx?property=2295
Post into field the captured ‘2295’ as the text.
That value is dynamically changes.
Question # 2:
what is the writing standard for the RegEx when I’d like to capture a value/parameter from a provided below URL/link and use it as a text in another field or a validate the value:
Example:
Get from:
https:///c=1RR/offerSubmit
The value that I need to capture as the text and re-use later is ‘1RR’
Thanks.