Thread Daten extrahieren (2 answers)
Opened by elvira at 2006-06-17 14:08

elvira
 2006-06-17 14:08
#28575 #28575
User since
2006-06-14
5 Artikel
BenutzerIn
[default_avatar]
Hallo!

Wie kann ich die Daten wie z.B. Bug ID, Category, Severity...aus der folgenden HTML Datei extrahieren?

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<tr class="row-1">

<!-- Bug ID -->

<td>
0007044 </td>

<!-- Category -->
<td>
[mantisbt] custom fields </td>

<!-- Severity -->
<td>

minor </td>

<!-- Reproducibility -->
<td>
always </td>

<!-- Date Submitted -->
<td>
05-08-06 00:26 </td>

<!-- Date Updated -->
<td>
05-08-06 00:26 </td>

</tr>


ich habe's mit
Code: (dl )
if($row=~/<tr class="row-1">(.+)<\/tr>/m)

versucht, aber geht nicht...

bitte um Hilfe :)

code-tags von betterworld\n\n

<!--EDIT|betterworld|1150539201-->

View full thread Daten extrahieren