<?php $pattern = '/\bRo(M)\b/u'; $sample = 'Ro(M)'; echo (int)preg_match( $pattern, $sample, $matches).PHP_EOL; print_r($matches);
You have javascript disabled. You will not be able to edit any code.