<?php preg_match("/\\\(.*?)\\\/i", 'Adres: \4055\ Esatpaşa mahallesi yeri yurdu sokak no:48 ataşehir\istanbul', $matches); echo $matches[1];