From: Reinhart Viane Date: 2010-06-03T19:10:48+09:00 Subject: gsub with wildcard ------=_NextPart_000_003B_01CB0315.CAC696C0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello, I want to replace: id="idxxxxxxx" with id="id20" in a string I know this can be done with gsub but I don't know how to use wildcards. The xxxxxxx can be of any length but only numbers Thx ------=_NextPart_000_003B_01CB0315.CAC696C0--