A similar question has come up recently: Opening files, comparing strings. Should be simple!?
In reply to Re: Variable in regex... by ambrus in thread Variable in regex... by cschooley