<?php $string = 'user1234_-'; preg_match('/[\w\d_-]{0,14}/', $string, $match); var_dump($match);
You have javascript disabled. You will not be able to edit any code.