Dan Joseph wrote:

        Sometimes there won't be anything to replace at the front, and sometimes
nothing at the end.  So it'd still need to do the front and/or end wether or
not they both exist.

Is there a way to tweak these to do that?

Question:
Where is this number coming from? Couldn't you just use a substr() based upon it's length and not deal with a regular expression?


--
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

PHP|Architect: A magazine for PHP Professionals – www.phparch.com





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to