If you are slurping the entire file, use substr:
if( substr( $file, 294, 6 ) =~ /.../ ) { print 'found'; } else { print 'not found'; }
In reply to Re: Search for string between specific character numbers in a line
by BrowserUk
in thread Search for string between specific character numbers in a line
by smoss74
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |