diff --git a/src/pages/activity/import/utils/csvValidation.ts b/src/pages/activity/import/utils/csvValidation.ts index fe4ad86..f07437c 100644 --- a/src/pages/activity/import/utils/csvValidation.ts +++ b/src/pages/activity/import/utils/csvValidation.ts @@ -81,7 +81,7 @@ const CASH_ACTIVITY_TYPES = new Set([ ]); // Add a simple regex for ticker validation -const tickerRegex = /^(\$CASH-[A-Z]{3}|[A-Z0-9]{1,5}([.-][A-Z0-9]+)?)$/; +const tickerRegex = /^(\$CASH-[A-Z]{3}|[A-Z0-9]{1,10}([\.-][A-Z0-9]+){0,2})$/; export const activityImportValidationSchema = z .object({