[已解决]求一个正则,提取网页中的订单号
<a clstag="pageclick|keycount|order_shop_201508177|3" track="orderinfopagebeta" href="https://neworder.shop.jd.com/order/orderDetail?orderId=78455012481" target="_blank" prompt="复制成功" class="suctext">78455012481</a><a clstag="pageclick|keycount|order_shop_201508177|11" track="orderinfopagebeta" href="https://neworder.shop.jd.com/order/orderDetail?orderId=78455012481" style="display: block;" target="_blank">查看详情</a>
<a clstag="pageclick|keycount|order_shop_201508177|3" track="orderinfopagebeta" href="https://neworder.shop.jd.com/order/orderDetail?orderId=78391886435" target="_blank" prompt="复制成功" class="suctext">78391886435</a>
<a clstag="pageclick|keycount|order_shop_201508177|11" track="orderinfopagebeta" href="https://neworder.shop.jd.com/order/orderDetail?orderId=78391886435" style="display: block;" target="_blank">查看详情</a>
<a clstag="pageclick|keycount|order_shop_201508177|3" track="orderinfopagebeta" href="https://neworder.shop.jd.com/order/orderDetail?orderId=78390310851" target="_blank" prompt="复制成功" class="suctext">78390310851</a>
<a clstag="pageclick|keycount|order_shop_201508177|11" track="orderinfopagebeta" href="https://neworder.shop.jd.com/order/orderDetail?orderId=78390310851" style="display: block;" target="_blank">查看详情</a>
<a clstag="pageclick|keycount|order_shop_201508177|3" track="orderinfopagebeta" href="https://neworder.shop.jd.com/order/orderDetail?orderId=78370279593" target="_blank" prompt="复制成功" class="suctext">78370279593</a>
<a clstag="pageclick|keycount|order_shop_201508177|11" track="orderinfopagebeta" href="https://neworder.shop.jd.com/order/orderDetail?orderId=78370279593" style="display: block;" target="_blank">查看详情</a>
<a clstag="pageclick|keycount|order_shop_201508177|3" track="orderinfopagebeta" href="https://neworder.shop.jd.com/order/orderDetail?orderId=77275585114" target="_blank" prompt="复制成功" class="suctext">77275585114</a>
<a clstag="pageclick|keycount|order_shop_201508177|11" track="orderinfopagebeta" href="https://neworder.shop.jd.com/order/orderDetail?orderId=77275585114" style="display: block;" target="_blank">查看详情</a>
从以上代码中提取出,78391886435,78390310851,78370279593,77275585114等订单号字符串
应该是提取“https://neworder.shop.jd.com/order/orderDetail?orderId=”后面的字符
请大家帮帮忙,谢谢
(?i)orderId=(\d+)"\h+s
页:
[1]