tomo tomolssondnbnorcom matching problem cant solve mystring xxxxxyyyyyzzzz xxyyzz basiclly anything letters digits etc im interested content within close really yet librarygsubfn strapplymystring perlf gives 1 1 xx yyy z add code remove answer regards tom view message context httpwwwnabblecommatchingproblemtp18850718p18850718html sent r help mailing list archive nabblecom ______________________________________________ rhelprprojectorg mailing list httpsstatethzchmailmanlistinforhelp please read posting guide httpwwwrprojectorgpostingguidehtml provide commented minimal selfcontained reproducible code wed 06 aug 2008 060123 0700 r matching problem