Above given solutions might not work for extensions in upper cases. Enhancing "Penguen"'s solution:
This is my answer of the question posted at stackoverflow.
Regex regx = new Regex(@"([a-zA-Z0_9].*\bxyz)|([a-zA-Z0_9].*\bXYZ)\b"); This is my answer of the question posted at stackoverflow.
 
 
No comments:
Post a Comment