creating triggerfactory regex
frommaxval regex work