Added filters in regex to filter the dictionary Resolves #17