regex - Regexp To Match Characters after string -


i want match string comes after http://test.website.com/account/activateaccount/.

e.g.:

the string evaluated:

http://test.website.com/account/activateaccount/bba29f0c-f0e0-4e3a-93dd-e10a090c3f29

desired outcome:

bba29f0c-f0e0-4e3a-93dd-e10a090c3f29

thanks!

if want match guids, can use:

\/((\w{8}(?:-\w{4}){3}-\w{12}))$ 

example here:https://regex101.com/r/iw6fh2/1


if want match every text , beginning part of address fixed, can use:

http\:\/\/test\.website\.com\/account\/activateaccount\/(.*) 

example here:https://regex101.com/r/jf8oi1/1


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -