Edit regular experssion for array value