我正在尝试在 PHP 上编写正则表达式,但被下面的重复部分卡住了。是否可以使用一个正则表达式获取此信息?
与这组——Grandma (2013/Bluray)
<h1>Grandma / Nice story of grandma 2013 / Grandparents / Granma on vacation (2013/Bluray)</h1>
<h1>Grandma / Nice story of grandma 2013 / Grandparents (2013/Bluray)</h1>
<h1>Grandma / Nice story of grandma 2013 (2013/Bluray)</h1>
<h1>Grandma (2013/Bluray)</h1>
与这组——Game of death 2 (1981/HDRip)
<h1>Game of death 2 / TD 2 / Super death towers II / Towers of Death / Game of Death II / Tower of Death (1981/HDRip)</h1>
<h1>Game of death 2 / TD II / Super death towers II / Towers of Death / Game of Death II / Tower of Death (1981/HDRip)</h1>
<h1>Game of death 2 / Super death towers II / Towers of Death / Game of Death II / Tower of Death (1981/HDRip)</h1>
<h1>Game of death 2 / Towers of Death / Game of Death II / Tower of Death (1981/HDRip)</h1>
<h1>Game of death 2 / Towers of Death / Tower of Death (1981/HDRip)</h1>
<h1>Game of death 2 / Tower of Death (1981/HDRip)</h1>
我现在拥有的正则表达式是/<h1>([^\/]*)(.*)\((.*)\)<\/h1>/i
. 但它不起作用<h1>Grandma (2013/Bluray)</h1>
。