Regular Expression Question
I have a log file of HTML code and I need to find a
string and set a PERL variable equal to the value that
follows the string. So the HTML code looks something
So I need to grep for "frequencyBand" and get the
value "ota1800" and set it equal to a PERL variable.
I've tried a few things but nothing is working
currently. Any help is greatly appreciated.
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
- Hi All,
I need to to drop the "B" of the end of a string. What would be the
best way to do this.
$itemcode = AW-304B
I need it to be AW-309.
Any help is greatly appreciated.
- $itemcode =~ s/B$//;
> -----Original Message-----
> From: libertyhosting [mailto:greg@...]
> Sent: Thursday, March 06, 2003 2:21 PM
> To: firstname.lastname@example.org
> Subject: [PBML] Regular Expression Question
> Hi All,
> I need to to drop the "B" of the end of a string. What would be the
> best way to do this.
> For Ex.
> $itemcode = AW-304B
> I need it to be AW-309.
> Any help is greatly appreciated.
> Unsubscribing info is here:
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
> This email was pre-scanned by Spam Guardian
> A Service Provided by www.foothill.net and FNFmail.com