Здравствуйте, billi. > ~ (^[^?]*); Попробуйте вот так: ~^(?<key>[^?]+) $key; -- С уважением, Михаил mailto:postmaster at softsearch.ru