/ Published in: C#

Dots match any charecter, this matches any 7 chars. You need to change that bit to match a different pattern.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
private string GetAnchorPart() { string anchorExp = "[#]......."; Match anchorMatch = rex.Match(Request.RawUrl); return anchorMatch.ToString(); }
Comments
