So if I pull a string up like "string1-string2.php" I used the - to seporate the string. But I dont understand how to use preg_match (if thats what i need), but I want to pull out string1 and string2 into a array.