Re: Regex help!
| From: | Murray Shields | Date: | Fri, 05 Jan 2001 01:38:56 +0000 |
| Subject: | Re: Regex help! | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-32789@lists.php.net to get a copy of this message | ||
> Perhaps str_replace() phrase2 for phrase1, then explode() each line using
> phrase1 as the separator?
An excellent suggestion that I should have thought of! I will experiment
with this and the regex-based solution suggested by another subscriber and
see which provides the best result for my needs (reliability and performance
wise).
> --
> CC
======================================================================
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