in reply to a regular expression problem

... at 6th place, i count 2b's and 1c. only thing i want in this puzzle is 6

You should be aware that Perl strings, arrays, etc. are 0-based. So the 'bcc' substring I see in 'abacdbccdee' (and that I think you want) begins at offset 5.

Update: Oops... I may have misinterpreted what siskos1 wants. Nevermind.