forum

home / developersection / forums / how to use regex

how to use regex

Anonymous User 2101 02-Sep-2014

I am using UrlRewriter.NET for urlrewriting...how do i write the regular expression for

http://localhost:2731/CitiZenJourNalism/ViewProfile.aspx?uid=3eb5bf69-1047-4936-9885-8ff41d45646f

in this format <rewrite url = "~/ViewProfile/([^/.]+)" to="~/ViewProfile.aspx?uid=$1" />

what should be the rewrite url for http://localhost:2731/CitiZenJourNalism/Reports.aspx?cat=local&id=6

Any help is appretiated.


Updated on 03-Sep-2014

I am a content writter !


Message
Can you answer this question?

Answer

1 Answers

Liked By