<?php $str = 'asdf.jsp'; preg_match('/([\w]+\.js(\?[\w])?)+/', $str, $a); var_dump($a);
You have javascript disabled. You will not be able to edit any code.