# Class HelperRegex OptimaJet.Workflow.Core.Helpers.HelperRegex Provides [Regex](https://learn.microsoft.com/dotnet/api/system.text.regularexpressions.regex) instances for recognizing ordinary interval units and calendar-prefixed working-time units in Workflow Engine interval expressions. Namespace: [OptimaJet.Workflow.Core.Helpers](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Helpers/) ```csharp public static class HelperRegex ``` ## Fields `public static readonly Regex YearsRegex` Matches year components written with the `years`, `year`, or `y` suffix. `public static readonly Regex MonthsRegex` Matches month components written with the `months`, `month`, or `mm` suffix. `public static readonly Regex DaysRegex` Matches day components written with the `days`, `day`, or `d` suffix. `public static readonly Regex HoursRegex` Matches hour components written with the `hours`, `hour`, or `h` suffix. `public static readonly Regex MinutesRegex` Matches minute components written with the `minutes`, `minute`, or `m` suffix. `public static readonly Regex SecondsRegex` Matches second components written with the `seconds`, `second`, or `s` suffix. `public static readonly Regex MillisecondsRegex` Matches millisecond components written with the `milliseconds`, `millisecond`, or `ms` suffix. `public static readonly Regex CalendarYearsRegex` Matches working-year components written with the `wyears`, `wyear`, or `wy` suffix. `public static readonly Regex CalendarMonthsRegex` Matches working-month components written with the `wmonths`, `wmonth`, or `wmm` suffix. `public static readonly Regex CalendarDaysRegex` Matches working-day components written with the `wdays`, `wday`, or `wd` suffix. `public static readonly Regex CalendarHoursRegex` Matches working-hour components written with the `whours`, `whour`, or `wh` suffix. `public static readonly Regex CalendarMinutesRegex` Matches working-minute components written with the `wminutes`, `wminute`, or `wm` suffix. `public static readonly Regex CalendarValueRegex` Matches zero or more digits used as the numeric value of a working-time component. `public static readonly List CombinedRegexList` Contains matchers for calendar-prefixed year, month, day, hour, and minute components used to detect expressions that combine working-time and ordinary interval units. `public static readonly List CalendarCombinedRegexList` Contains matchers for ordinary year, month, day, hour, and minute components used to detect expressions that combine ordinary and working-time interval units. `public static readonly Regex IsCalendarRegex` Detects calendar-prefixed working-time units in an interval expression. [Previous HelperParser](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Helpers/HelperParser/) [Next IWorkflowEngineNetRestriction](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.License/IWorkflowEngineNetRestriction/)