<?php $string = "You may organize to find or seek a neighbor or a pastor in a harbor or orchard."; echo preg_replace('~(?<!\bor) (?!or\b)~', '_', $string);
You have javascript disabled. You will not be able to edit any code.