The source code generated using the C or C++/MFC tabs can be used to implement a masked edit control in an application. Usually the source code can be used with just minor modifications. By following the comments in this source code, the relevant sections can be copied to your application.
Use the Edit, Find menu command to locate text.