Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有以下表达
List<string> Images = Regex.Matches(html, @"(?<=/PI/).*(?=/500/)").Cast<Match>().Select(m => m.Value).ToList();
/PI/它在和之间获得所有价值/500/
/PI/
/500/
我想确保每个值不超过 3 个字符。
(?<=/PI/).{0,3}(?=/500/)