sampath meka

sampath meka

  • NA
  • 41
  • 12.2k

Regular Expression for a string

Apr 3 2014 2:19 AM
Hello All,

           I have two strings one is valid and another is not valid i need read only valid xml files for loading,so kindly help me with a regular expression which validates the string and tells as valid /Invalid.


string faString1 = "FA557_740Lxe.xml";   [Valid]
string faString2 = "FAlist_G31.xml";        [InValid]


Thank you


Answers (6)