Hello 24 fan, On 27 Jan 2004 at 0:56, Jack Bauer wrote:
> i'm looking for a function to remove multiple dynamic parts > of a string, there are only the start and end strings given > > (remove all between string A and string B) > > got somebody a working procedure for that? I'm not sure I understand you correctly, but it seems to me that you need to use regular expressions. You haven't provided us with an example or with strings "A" and "B", so it's kinda difficult to give you any specific help. Suggestion: read up on Regular Expression Functions (Perl-Compatible) in the PHP manual (chapter XC in the Function Reference section). If you're not familiar with regular expressions and find the PHP manual too difficult as a starting point, you'll find a pretty good introductory guide, courtesy of the Dark Side of the Force, at http://msdn.microsoft.com/library/en-us/script56/html/js56reconIntroducti onToRegularExpressions.asp Have fun, Erik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php