var
matchs: TMatchCollection;
const
encryp_RexStr = 'encryptAccountId(.*?)isGold';
matchs := TRegEx.Matches(sResponseHtml, encryp_RexStr);
if matchs.Count = 1 then
begin
tmpShopInfo.encryptAccountId := matchs.Item[0].Groups[1].Value;
...
...
end
Delphi 利用自带类TRegEx实现正则匹配
最新推荐文章于 2022-11-16 23:53:57 发布