Hi Team,
need regex value of below string
String=‘Online Forms)’
required output=“d817534a-855d-99a4-9873-68f19b80f601”
note- the value change in dynamically
Hi Team,
need regex value of below string
String=‘Online Forms)’
required output=“d817534a-855d-99a4-9873-68f19b80f601”
note- the value change in dynamically
Input = "https://forms2.deluxe.com/gateway/publish/d817534a-855d-99a4-9873-68f19b80f601"
Output = System.Text.RegularExpressions.Regex.Match(Input,"(?<=publish\/).*").Value.Trim
Hope it helps!!
Another approach
System.Text.RegularExpressions.Regex.Match(Input,"(?<=\/\w+\/)\w+\d+.*").Value
Regards,
If you got the solution for your question please mark it as solution to close the loop else happy to help.
Regards,