Hi, All. I want to match a number if it is the only one in the string, and the second one, if '=' preceeds it. Example 'Course: 23,95' - matches '23,95' '$1 = 23,95 y' - matches '23,95'. Regards, Lexy