11Tami Posted July 26, 2007 Author Share Posted July 26, 2007 This is all I could find regarding details about delimiters it doesn't explain well enough how to use a delimiter if using like this / http://en.wikipedia.org/wiki/Delimiter Quote Link to comment Share on other sites More sharing options...
teng84 Posted July 26, 2007 Share Posted July 26, 2007 delimiter or/ means you are limiting the string base on your pattern sample the pattern is /[a-z]{3}\.[a-z]{3}/ means it will only accept php.php and not php.php.php Quote Link to comment Share on other sites More sharing options...
11Tami Posted July 26, 2007 Author Share Posted July 26, 2007 I don't know its not sinking in but thanks your posts led me to more about it under "regular expressions php." But deadevil and markjoe, guess what now I can name my text file what I want with this. if(preg_match("/".$currentFile."\.txt/","/".$file."\.txt/")): Now I'm working on the rest, I'll let you know how it goes. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.