<?php $test = "javascript1.js /dev/spacethenjs2.js doublenewline_tab_javascript3.js /dev/javascript4.js javascript5_trailingspaces.js "; var_export($test); echo "\n---\nSee divided and trimmed output: "; var_export(preg_match_all("~[/\w]+\.js\b~", $test, $matches) ? $matches[0] : 'no matches');
You have javascript disabled. You will not be able to edit any code.