屌霸虎学正则表达式的笔记
发布时间:2020-12-14 01:30:03 所属栏目:百科 来源:网络整理
导读:要这一段 正则是: ashref="([^"]*.pdf)" 结果就出来了 a href="/uploads/2/1/0/0/21005170/instruction-3d-picture.pdf"a href="/uploads/2/1/0/0/21005170/3d-picture-nativity.pdf"a href="/uploads/2/1/0/0/21005170/3d-picture-visit-magi.pdf"a href
要这一段
正则是:
<ashref="([^"]*.pdf)">
结果就出来了 <a href="/uploads/2/1/0/0/21005170/instruction-3d-picture.pdf"> <a href="/uploads/2/1/0/0/21005170/3d-picture-nativity.pdf"> <a href="/uploads/2/1/0/0/21005170/3d-picture-visit-magi.pdf"> <a href="/uploads/2/1/0/0/21005170/3d-pic-03_jesus_visits_jerusalem_as_a_boy.pdf"> <a href="/uploads/2/1/0/0/21005170/3d-pic-04_when_jesus_was_baptized.pdf"> <a href="/uploads/2/1/0/0/21005170/3d-pic-05_nicodemus_visits_jesus.pdf"> <a href="/uploads/2/1/0/0/21005170/3d-pic-06_jesus_calls_his_first_disciples.pdf"> <a href="/uploads/2/1/0/0/21005170/3d-pic-07_jesus_and_the_woman_from_samaria.pdf"> <a href="/uploads/2/1/0/0/21005170/3d-pic-08_the_sermon_on_the_mount.pdf"> <a href="/uploads/2/1/0/0/21005170/3d-pic-09_jesus_healing_ministry.pdf"> <a href="/uploads/2/1/0/0/21005170/3d-pic-10_raising_of_lazarus.pdf"> <a href="/uploads/2/1/0/0/21005170/3d-pic-11_in_the_garden_of_gethsemane.pdf"> <a href="/uploads/2/1/0/0/21005170/3d-pic-12_truly_this_was_the_son_of_god.pdf"> <a href="/uploads/2/1/0/0/21005170/3d-pic-13_jesus_will_return.pdf"> 选择全部PHP注释: (?:#|//)[^rn]*|/*[sS]*?*/ 屌爆了!一下子就把所有注释给删除掉!! (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |