in reply to index regex

plz use < code > tags

see pos to find out the position of the last match.

Cheers Rolf

( addicted to the Perl Programming Language)