用于分隔URL的锚定部分的正则表达式
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了用于分隔URL的锚定部分的正则表达式相关的知识,希望对你有一定的参考价值。
Dots match any charecter, this matches any 7 chars. You need to change that bit to match a different pattern.
private string GetAnchorPart() { string anchorExp = "[#]......."; Match anchorMatch = rex.Match(Request.RawUrl); return anchorMatch.ToString(); }
以上是关于用于分隔URL的锚定部分的正则表达式的主要内容,如果未能解决你的问题,请参考以下文章