<?php $text = "test/test2"; echo preg_match('\w+\\/\w+',$text);
You have javascript disabled. You will not be able to edit any code.