henrique dallazuanna wwwhsdgmailcom one option strapplymystring functionxgsub x perl f wed aug 6 2008 1001 tomo wrote 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 henrique dallazuanna curitibaparanábrasil 25 25 40 49 16 22 ______________________________________________ rhelprprojectorg mailing list httpsstatethzchmailmanlistinforhelp please read posting guide httpwwwrprojectorgpostingguidehtml provide commented minimal selfcontained reproducible code wed 06 aug 2008 133827 0300 r matching problem