Ill try again. Seems like any time I ask a Q about reg exps, everyone ignores me. Oh well.<BR><BR>I&#039;m wondering about the syntax of a vb reg exp that i need to return a file name ending in either .inc or .asp<BR><BR>With strRegExp<BR> .Pattern = "(_.*.[inc&#124asp])"<BR> .Global = True<BR> .IgnoreCase = True<BR> End With<BR><BR>I know the pattern is wrong, but what I&#039;m wondering is how I can match a string within a string? The backreference works when I just leave it as .inc, but I thought the pipe was a regexp "or", meaning [this OR that]... instead its pulling any character that matches on either side...<BR><BR>Make sense?