Skip to main content

Hi,

I am using FME Desktop 2015.1 and need to test an attribute field for integer status.

passes are any whole number including;

zero

negative numbers where prefixed with "-"

positive numbers where NOT prefixed with "-"

In the absence of having attributeValidator (2016) can anyone advise me of the correct regex string?

Does ^(\\-)?\\d+$ look correct?

Thanks in advance,

Rob

Have you looked at the attributeclassifier, you can test for integer with this in 2015


Hi @egomm

Thanks very much that was exactly what I was looking for!

Regards,

Rob


Reply