private string GetAnchorPart()
{
string anchorExp = "[#].......";
Regex rex = new Regex(anchorExp);
Match anchorMatch = rex.Match(Request.RawUrl);
return anchorMatch.ToString();
}
Regular Expression to Separate the Anchor Part of a URL
Leave a Reply
You must be logged in to post a comment.