2010-06-04, 22:10
Hello again ;=)
from the website I only get a list of genres for a movie, which need to be divided. HTML source is as following:
With the RegEx
I get all the four genres. But what about movies with just one, two, three genre? I will get (min) one empty genre :=(
Any chance to surpress this fault?
Regards,
Eisbahn
from the website I only get a list of genres for a movie, which need to be divided. HTML source is as following:
Code:
<div class="info">
<h5>Genre:</h5>
<div class="info-content">
Action | Abenteuer | Fantasy | Sci-Fi
</div>
</div>
Code:
<RegExp input="$$1" output="<genre>\1</genre><genre>\2</genre><genre>\3</genre><genre>\4</genre>" dest="5+">
<expression>Genre:</h5>\n<div class="info-content">\n([^|\n]+)[ \| ]?([^|\n]*)[ \| ]?([^|\n]*)[ \| ]?([^|\n]*)</expression>
</RegExp>
Any chance to surpress this fault?
Regards,
Eisbahn