Ich schaffe es einfach nicht einen HTML Block auszulesen... in diesem fall:
Code:
<tbody><tr> <td class="tcat"> Preview </td> </tr> <tr> <td class="thead smallfont"> The highlighted area indicates the maximum allowed height for your signature. Any surplus content will not be visible. The contents of [spoiler] tags may extend beyond the limit, just make sure that your signature with all spoilers collapsed is below the maximum allowed height. In addition to that, please make sure that your signature complies with the <a href="http://www.elitepvpers.com/forum/main/announcement-board-rules-signature-rules.html" rel="nofollow" target="_blank">Signature Rules</a>. </td> </tr> <tr> <td class="signature-preview"> <div class="align-center"> ######### DAS SOLL AUSGELESEN WERDEN! ######### </div> </td> </tr> </tbody>
Wichtig ist dass ich den Block haben will ohne den HTML Codes (<div..> </div>, <br>, etc)
wäre echt nett wenn mir jemand helfen könnte bitte keine Fragen warum ich unbedingt das hier haben will ^^ wenn ich was versuche muss ich es solang machen bis es klappt :P
Autoit Code: (Ist das Example 1 in der Hilfe!)
Code:
#include <MsgBoxConstants.au3>
#include <StringConstants.au3>
Local $aArray = 0, _
$iOffset = 1
While 1
$File = FileRead("1.html")
$aArray = StringRegExp($File, '(?i)<div class="align-center">(.*?)</div>', $STR_REGEXPARRAYMATCH, $iOffset)
If @error Then ExitLoop
$iOffset = @extended
For $i = 0 To UBound($aArray) - 1
MsgBox($MB_SYSTEMMODAL, "RegExp Test with Option 1 - " & $i, $aArray[$i])
Next
WEnd







