Re: Baby's First Regex! (Repost - Please Help)
| From: | Murray Shields | Date: | Wed, 10 Jan 2001 01:28:41 +0000 |
| Subject: | Re: Baby's First Regex! (Repost - Please Help) | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-33600@lists.php.net to get a copy of this message | ||
> Or you could regex it with something like this:
>
> ereg("^([^a-zA-Z0-9]*)(.*)$", $inStr, $resultArr);
Thanks to all who responded! The above is working as described, and is now
implemented in my code thanks!
======================================================================
Murray Shields Email: murray@globalcat.com.au
MU Systems Pty Ltd Phone: +61 7 3351 6677
Global Catalogs Pty Ltd Phone: +61 7 3351 4777