I'm trying to transform this html table to a colon-delimited flat-file
database.  This is what I have so far:

HTML:
<tr><td class='bodyblack' width='50%'><a
href='http://jsearch.usajobs.opm.gov/summary.asp?OPMControl=IC9516'
class='jobrlist'><font size='2'>ACCOUNTANT
</font></a></td><td class='bodyblack' width='40%'>$24,701.00
 - $51,971.00
</td><td class='bodyblack'>INDEFINITE</td></tr>
<tr><td class='bodyblack'>CONTINENTAL U.S., US</td>
</tr><td class='bodyblack' colspan='3'>&nbsp </td></tr>

Database Record (wanted):
Accountant:$24,701.00 - $51,971.00:INDEFINITE:CONTINENTAL U.S., US

Regex I have:
$jobrecord =~ ^(<tr>)(<td class='bodyblack' width='50%'>)(.+)(&nbsp
</td></tr>)$

However, this doesn't seem to be working.  Please help.

- Doug

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to