in reply to Substitution in range operator

Update: I think I need to find the expression for the hex value a7c
That's probably line feed (0xA) and vertical line (0x7C), so the expression is "\n|". Also note that
"\R" matches anything that can be considered a newline under Unicode rules. It can match a multi-character sequence. It cannot be used inside a bracketed character class
That might make it easier for you to deal with various newlines (it matches "\n", "\r\n", "\r", among other things).

Replies are listed 'Best First'.
Re^2: Substitution in range operator
by benaw (Novice) on Dec 30, 2015 at 23:55 UTC

    Thanks "\R" was very helpful with that in 1nickt's script which I run afterwards the hurdle is overcome, now onto the next part!