Here is the case, I need to match only the first ":" (linetobematched:ok) with a regex but it\'s not working if the 2 symbols are on the same line ->it matches