m/^(.*\s+keyword=)(\d+)(\s+.+)$/ (the +? has been replaced by *) [download]
In reply to Re: Regex problem by screamingeagle in thread Regex problem by Anonymous Monk