RE: [PHP-WIN] Having trouble with Regular Expressions here too
| From: | HKG) | Date: | Sat, 17 Jan 2004 11:26:24 +0000 |
| Subject: | RE: [PHP-WIN] Having trouble with Regular Expressions here too | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-22595@lists.php.net to get a copy of this message | ||
Would it be possible to do a string position on " AKA " and " IN " and just
cut out what's in between there?
-----Original Message-----
From: Jim MacDiarmid
To: php-windows@lists.php.net
Sent: 2004-01-16 17:10
Subject: [PHP-WIN] Having trouble with Regular Expressions here too
Here is what I'm doing:
I'm issuing a DOS command on a Windows platform using the backtick mark
(
command) and getting output from it. That works fine. Now my problem
is parsing the string that gets returned.
I've tried using the preg_match and preg_match_all commands to filter
the information I want, but can't seem to get them to work. I'm not sure
if they are the ones I need to use. I'm attempting to use the following
pattern filter with the preg_match commands: