in reply to Regex check

Should the last part be ->\s*$/' perhaps (note the \s*)>


Perl reduces RSI - it saves typing