in reply to Re^3: replace fist and last occurrences of Nin thread replace fist and last occurrences of N