Arrays and regex's..
| From: | Chad Day | Date: | Fri, 23 Jun 2000 18:55:31 +0000 |
| Subject: | Arrays and regex's.. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-2847@lists.php.net to get a copy of this message | ||
I'm completely stumped on something here..
I have an array of strings that I need to be able to select some values out
of alphabetically. I've sorted the array alphabetically, but am not sure how
to pull out all the values that start with 'A', or 'B', or whatever letter I
would want. I think a regular expression is needed to check the
values and dump them into a second array via a loop, but I'm lost on how
that expression would look.. I'm really new on regex's :( Can anyone assist
or point me to some good regular expression tutorials?
Chad Day
Beach Associates
When I speak german... I think german in my head... but like...Do skript
kiddies see a w40l3 8uncha 1's and 0's and 3's and 4's and 7's in their
h34d'5 w43n t43y R +a1k1n6 ? -- SirStanley