<?php $a = "Вид=Готовый, Литраж=4, Цвет=красный, "; if (preg_match('/Вид=\K[^,]+/', $a, $match)) { echo $match[0]; }
You have javascript disabled. You will not be able to edit any code.