[DEV] generize the regExp (nearly work ... really need to be tested ...