diff --git a/src/containers/Flow/Flow.tsx b/src/containers/Flow/Flow.tsx index 1ddc5eaa1..41bfcf4a4 100644 --- a/src/containers/Flow/Flow.tsx +++ b/src/containers/Flow/Flow.tsx @@ -140,7 +140,7 @@ export const Flow = () => { } }; - const regex = /^\s*[^-!$%^&*()+|~=`{}[\]:";'<>?,./]+\s*(,\s*[^-!$%^&*()+|~=`{}[\]:";'<>?,./]+\s*)*$/g; + const regex = /^\s*[^-!$%^&*()+|~=`{}[\]:";'<>?,./\s]+\s*(,\s*[^-!$%^&*()+|~=`{}[\]:";'<>?,./\s]+\s*)*$/g; const FormSchema = Yup.object().shape({ name: Yup.string().required(t('Name is required.')),