local invoiceData =
[[I N V O I C E
Invoice No. :
ABCDEFG125469857
Invoice Date May
2012
]]
The pattern I am using is
print (string.match(invoiceData,'\nInvoice Date (.-)\n'))
I want to fetch the string invoice date as MAY12. or 0512.. please help
Thanks