In article <[EMAIL PROTECTED]>, Arik Raffael Funke wrote: > implement following pattern "Last Name:\s*(.*)\n".
> I get just 'Jason'. But what I currently get is: > Jason > Street: abc This is behaviour because (.*) is greedy. As you noticed, it matched "Jason \nStreet:abc" /Last Name:\s+(.*?)\n/ -- Tim Van Wassenhove <http://home.mysth.be/~timvw> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php