Extract certain text using Regular Expression


Requesting for help in extracting the expected output from the below string using regular expression.

String: https://abc.com/key=s2AQ11W&app=true

Expected Output: s2AQ11W

Thank you.

[CheatSheet] - System.Text.RegularExpressions | RegEx - News / Tutorials - UiPath Community Forum

Hi @shahidh.aqeel.shahul


Hi @shahidh.aqeel.shahul

Input=  https://abc.com/key=s2AQ11W&app=true
Output= System.Text.RegularExpressions.Regex.Match(Input,"(?<=key=)[a-z0-9A-Z]+").Value

Hope it helps!!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.