in reply to regex capture group problem

Thank You all for the replies, this all helped very much