Tuesday, July 19, 2011

Regular Expression for YYYYMM

Well i managed to make this one for now. If you have better one please share .

YYYYMM

(^(19|20)\d{2})((0[1-9])|(1[0-2])$)

e.g.
PASS : 200901 , 201012 ...

FAILS :211001 , 200913 ...

No comments:

AWS Amplify : Failed to pull sandbox app, reason: unable to get local issuer certificate

Here is the scenario:  You are trying to pull Sandbox app from Amplify and complete data model using the command: amplify pull --sandboxId &...