Regular Expressions
| From: | Arik Raffael Funke | Date: | Thu, 05 Aug 2004 20:12:01 +0000 |
| Subject: | Regular Expressions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-192928@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi together,
I have a question about regular expressions. I want to get from
following text...
test: abc
def
ghi
...following...
abc
def
ghi
Can anybody tell me why preg_match("/test([.\n]*)/",...) does not work?
And who is it done properly?
Thanks very much in advance.
Cheers,
Arik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
iD8DBQFBEpSR//PXyz2NiW8RAscoAKCSukZ7/Cur9caw2/Vmss2Ktwb7YQCgpV3b
qkI7b1gPSrK0bJjLeTmokMk=
=5pzG
-----END PGP SIGNATURE-----