Input :
Output I need :
I want to update the Status as “bad” for the Address which is having only number i.e decimal numbers and normal numbers e.g in 5th,6th,8th and 9th fields. 4.8, 506,39 and 6.1 are considered as incorrect addresses so Status should be updated as “bad” for those. How to get Status as “bad”? Please give me any idea on this.