Skip to main content

I have a date attribute in the format %Y%m%d%H%M%S. I want to use everything in 2016, so how can I create a wildcard similar to 2016% ?

You can use the option begins with in the Tester or Testfilter, or a StringSearcher and then use ^2016 as the regular expression.


If your data is in a database you could use the underlaying database syntax to request only the 2016 data


Or you could use the SubstringExtractor to create a YEAR attribute (Substring 0 - 3) and use that in the AttributeFilter transformer.


Reply