Need regex for below link

Hi team,

in these string I need last value

String =“Online Forms

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

these value change in Dynamically

please help me in these Reqex

Regards,
Sai

Hi,
Try this

[a-z0-9]{8}(?:-[a-z0-9]{4}){3}-[a-z0-9]{12}

Thank you,
Akhil

Hi Team,

need regex value of below string
(Online Forms)

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

note- the value change in dynamically

Hi @Mada_Sai_Krishna

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!!

Hi @Mada_Sai_Krishna

Try this

Input.Split("/").Last

Regards,

Hi @Mada_Sai_Krishna

Try this

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

Regards,

\b[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}\b