<?php $address = "Flat 2 House Name 21 Another Road"; $address = preg_replace('/Flat\s\d/', '$1,', $address); echo $address;
You have javascript disabled. You will not be able to edit any code.