: I'm looking to see a simple demonstration of the A Star Algorithm in C#. Can any one direct me to some good information. I did download a project from this site that did the a *, but it was missing a file so I wasn't able to see how it was implemented.
I've used regular expression for that. Like this:
string pattern = "foo*.jpg";
string haystack = "foo_bar.jpg";
string regexPattern = pattern.Replace("*", "(.*?)");
Regex regex = new Regex(regexPattern);
MessageBox.Show("Match found: " + haystack);