<?php $word = '$1$s'; if(preg_match('/^\$[1-9]{1}\$s$/' ,$word)){ echo 'true'; } else { echo 'false'; }
You have javascript disabled. You will not be able to edit any code.