On 20/10/05, Mikael Petterson (KI/EAB) <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying: > > <replaceregexp file="index.htm"> > <regexp pattern="\(*"CUSTOM_APPL_REV" VALUE = > "[A-Z0-9]"\)"/> > <substitution expression="\1 kalle"/> > </replaceregexp> > > but still no match. > > This is the line: > > <PARAM NAME = "CUSTOM_APPL_REV" VALUE = "R11A02">
you have: * should be: .* you have: [A-Z0-9] should be: [A-Z0-9]+ try this: <regexp pattern="\(.*"CUSTOM_APPL_REV" VALUE = "[A-Z0-9]+"\)"/> http://regex.info/ HTH Jakob. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]