Re: i need help
| From: | Travis Low | Date: | Tue, 18 May 2004 04:04:40 +0000 |
| Subject: | Re: i need help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-186449@lists.php.net to get a copy of this message | ||
You need to learn how to use regular expressions. The manual page is here:
http://www.php.net/manual/en/ref.pcre.php
I could easily write the regular expression for you, but then you wouldn't learn anything.
cheers,
Travis
Student wrote:
Hi i was hoping if someone can help; I want to trim the following text [i:abcdef] but the inside text is different at time eg abcdef, bcdefg, etc etc how can i trim [i:(some text here)] so that i can replace them with nothing. eg these are to be trimmed. [i:abcdef] [i:bcdefg] [i:xyzab] [i:priftds] how can i trim them.. thanks-- Travis Low <mailto:travis@dawnstar.com> <http://www.dawnstar.com>