Need Regex for given link

Hi Team,

need regex value of below string
String=“Online Forms

required output=“d817534a-855d-99a4-9873-68f19b80f601”

note- the value change in dynamically

Hello,
Try this one: \/([a-z0-9-]+){15,}
Also you can put that regex in ‘Matches’ activity and take always last element in the group to make sure that is proper value :slight_smile:

Hi @Mada_Sai_Krishna

Try this

Input.Split("/").Last

Regards,

Hi @Mada_Sai_Krishna

FYI, There is another approach

System.Text.RegularExpressions.Regex.Match(Input,"(?<=\/\w+\/)\w+\d+.*").Value

Regards,

Thank you, ChatGPT.