I have a piece of code that opens a file and iterates each line inside the formated text file there will be a piece of text like this:
name.x00y00.whatever
I searching for the x00y00 to see if exists, and copy what is found into a string. The problem is that the numbers change, it is always two digits following the 'x' and two digits following the 'y'. But there is no way to predict what those numbers are. What is the best way to search the text with wild cards for it's existance and copy it?
I am completely new to regex so if somebody could enlightenment me I would greatly appreciate it.