In press release RBI has asked public to exchange these note from banks,To identify your note whether it was issued prior to 2005 ,just reverse the note and locate on botton of note there it will have year which shows year of printing.Refer screen shot
From July 1 ,2014 those who wish to exchange more than 10 piece of Rs 500 and Rs 1000 will have to give their proof of identity and residence to the bank in case they are non-customers.
These step taken by RBI will sure help in curbing black money in economy.In press release by RBI on their website The RBI has asked people not to PANICĀ