http://qs321.pair.com?node_id=502035


in reply to Regex for Multibyte Characters

AM:

Insufficient detail.

What have you tried? What is the range within which the 'version number' can fall (eg ( 1 or 2 or 3 ) or ( a#c79foo or f or whatever68 )?

At first glance the info you have presented suggests s///ing everything between "CHT string" and its repeat.