Hello,
i also scrape a page that has this kind of
<a href="#data/10">data0</a>
<a href="#data/20">data20</a>
<a href="#data/30">data30</a>
<a href="#data/40">data40</a>
<a href="#data/50">data50</a>
<a href="#data/{{id}}">{{template.id}}</a>
the regex i use is:
(?<=a\ href="\#data/)[0-9]*?(?=")
No problem on regex designer
but when i print the list to a file. the data {{id}} get included.
Any idea why ?
i also scrape a page that has this kind of
<a href="#data/10">data0</a>
<a href="#data/20">data20</a>
<a href="#data/30">data30</a>
<a href="#data/40">data40</a>
<a href="#data/50">data50</a>
<a href="#data/{{id}}">{{template.id}}</a>
the regex i use is:
(?<=a\ href="\#data/)[0-9]*?(?=")
No problem on regex designer
but when i print the list to a file. the data {{id}} get included.
Any idea why ?