Hey all,
Im trying to do a C++ program that checks a string to match a pattern. Namely im looking for it to record the string if it matches
AA###### where A is any alphabetic char (a-z, A-Z) and # os any number 0-9.
I know i can do this in regular expressions as a web based front end im using for this program has it already built in, but i cant figure out how to call ereg() in c++.
If you know of an answer or another alternative to check this pattern its greatly appreciated
Thanks
P.S. im using VS6 not .net
Im trying to do a C++ program that checks a string to match a pattern. Namely im looking for it to record the string if it matches
AA###### where A is any alphabetic char (a-z, A-Z) and # os any number 0-9.
I know i can do this in regular expressions as a web based front end im using for this program has it already built in, but i cant figure out how to call ereg() in c++.
If you know of an answer or another alternative to check this pattern its greatly appreciated
Thanks
P.S. im using VS6 not .net