Regular expression help needed.
I need your help.
I am having the information of the user.In this each user submits 6 documents.
The name of documents are like
Now I want only username_A.jpg.The values for extensions are jpg,jpeg,JPG,JPEG.
So could any one help me please how to extract say _A.jpg from all the 6 documents.
I am using the following reg. expression.But it also matches for pdf.
Your help will be appriciated.
//also tried for