Help for this page
... using a zero-width negative look-ahead assertion; or ... using a z +ero-width positive look-ahead assertion together with \D ...
>perl -wMstrict -le "my $s = 'xyzINC1234567'; ... print 'positive assertion true' if $s =~ /INC\d{7}(?=\D)/; " negative assertion true