Re: regex

From: Date: Thu, 19 Oct 2006 14:06:12 +0000
Subject: Re: regex
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-243340@lists.php.net to get a copy of this message
Bagus Nugroho wrote:
If we have variable like : $var1 = 'abcde 12'; $var2 = 'abcdefghi 34'; $var3 = 'abc 20 def'; Then we want output like : $var1 = 'abcde'; $var2 = 'abcdefghi'; $var3 = 'abc def'; How regex can help us?.
It's very difficult to get the right solution to a problem when all you provide is examples. If you want accurate help please provide an accurate description of the problem you're trying to solve rather than a few before and afters. -Stut

« previous php.general (#243340) next »