<?php $text = "tel: 012 213 123. mobil: 0303 11234 \n address: street 14"; echo preg_replace( '/tel\D*(\d+(?: \d+)*).*/is', '$1', $text );
You have javascript disabled. You will not be able to edit any code.