Help with Php and Regex
- From: The.Relinator@xxxxxxxxx
- Date: 31 May 2007 05:10:22 -0700
I'm just wondering what the best way is to extract and display a
number from a html file.
I tried the following piece of code, however it does not work.
ereg('\d\.\d', $content, $reg);
echo $reg[0];
.
- Follow-Ups:
- Re: Help with Php and Regex
- From: gosha bine
- Re: Help with Php and Regex
- From: Mattia Gentilini
- Re: Help with Php and Regex
- Prev by Date: Re: PHP Setup
- Next by Date: Re: Intense CPU strain....suggestions
- Previous by thread: OT : filtering the aioe spam
- Next by thread: Re: Help with Php and Regex
- Index(es):
Relevant Pages
|