<?php $match = 'wordtwo'; if (preg_match('/^(\w*)(?:\|(\w*))(?:=(\w\(\)))?$/', $match, $var)) { print_r($var); } else { print('Not matching :('); }
You have javascript disabled. You will not be able to edit any code.