Christian Meesters wrote: > Actually, your answer did help to open my eyes. The expression is > "\d+S[S|E]\.INF": Ouch! That will work, but what you really mean is one of these: "\d+S[SE]\.INF" "\d+S(S|E)\.INF" Your regex will match 0S|.INF Kent