[Date Index] [Thread Index] [Author Index]
Re: Trying to remove item from list of filenames
On 5/12/10 at 7:35 AM, ckoehler5 at wi.rr.com (Charles J. Koehler) wrote: >I read in a list of filenames from a directory, using wildcards to >capture all the files I want to process. However, a few files make >it into the list that I don't want. I these files have extra string >of characters, that I should be able to remove using a regular >expression and the appropriate Mathematica function. Any thoughts? You can likely do what you want with a combination of Cases, StringMathchQ and RegularExpression. But in order for me to be any more specific, you need to provide more details.