the regex engine in Javascript is not very powerful compared to the one in .NET or Java, but try^(@([^:]+):([^|@]+)(?:\|([^|@]+))*)*$although you might not be able to extract all the information, since the regex engine in Javascript doesn't seem to support nested capturing
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货