Chris, Slosh and others...
Yes, you're right. Python might be my friend right now.
I'm just testing something, report back soon.
Cheers Don
Don Gould wrote:
See: http://www.regular-expressions.info/examples.html
According to this I should be able to use regular expressions in grep.
I just don't quite understand what I'm doing wrong.
Cheers Don
HappyEvilSlosh wrote:
On Thu, 2006-12-07 at 21:08 +1300, Don Gould wrote:
[EMAIL PROTECTED] shared]# grep '<span id="lblValuationNumber">' cHTML
<span
id="lblValuationNumber">22115 36400 B</span></td>
[EMAIL PROTECTED] shared]#
Except I only wanted "22115 36400 B" (without the quotes).
From what I understand grep will return an entire line when it matches a
pattern. You may need to use sed or something similar to refine results.
--Slosh
--
Don Gould
www.thinkdesignprint.co.nz - www.tcn.bowenvale.co.nz -
www.bowenvale.co.nz - www.hearingbooks.co.nz - www.buxtonsquare.co.nz -
skype:ThinkDesignPrint?add - Good ideas: www.solarking.co.nz