我有如下的原始数据,并希望保留网址链接。
> http://www.example.com/routes/en/bus-ticket-from-ipoh-to-alor-setar
> data:text/javascript;base64,Ly8gSGVyZSBZb3UgY2FuIHR5cGUgeW91ciBjdXN0b20gSmF2YVNjcmlwdC4uLgpjb25zb2x…:5
> http://www.example.com/routes/en/bus-ticket-from-ipoh-to-alor-setar
> data:text/javascript;base64,Ly8gSGVyZSBZb3UgY2FuIHR5cGUgeW91ciBjdXN0b20gSmF2YVNjcmlwdC4uLgpjb25zb2x…:5
> http://www.example.com/routes/en/bus-ticket-from-genting-highlands-to-singapore
> data:text/javascript;base64,Ly8gSGVyZSBZb3UgY2FuIHR5cGUgeW91ciBjdXN0b20gSmF2YVNjcmlwdC4uLgpjb25zb2x…:5
> http://www.example.com/routes/en/bus-ticket-from-alor-setar-to-shah-alam
> data:text/javascript;base64,Ly8gSGVyZSBZb3UgY2FuIHR5cGUgeW91ciBjdXN0b20gSmF2YVNjcmlwdC4uLgpjb25zb2x…:5
我在正则表达式搜索中执行 \:5$
它与不需要的块匹配,这里的问题是什么?