Jump to content

Need help with PHP wildcards or regular expressions


prototype18

Recommended Posts

Okay, I have a problem.  I need to display multilple output of a file with a similar file name

 

I.E.

 

file1: 6002010.pdf

file2: 6002010.mmddyyyy.pdf

 

Now the first part of the file stays the same, but there is a time stamp on modified versions of the file.  But in my output I need to display all the files with the 6002010.

 

Could I use a wildcard such as 6002010* to get all the files to output on the screen?  Or do I need to use a regular expression?

 

:shrug:

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.