help with ereg
| From: | Vadim Tkachenko | Date: | Wed, 22 Mar 2000 09:23:54 +0000 |
| Subject: | help with ereg | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-12482@lists.php.net to get a copy of this message | ||
Hi,
Please help me with eregi.
I have string "Test string {one} and test line {two}".
I need get array with items "one" and "two".
eregi("{(.+)}","Test string {one} and test line {two}",$regs)
return $regs[1]="one} and test line {two".
How correct write pattern for eregi?
Vadim Tkachenko.