I have a file with multiple columns, separated by an underscore (_).
Most of the columns started with an uppercase for the first character, some with lower case.
I am intended to extract the string for each line, which begins with an upper case and the next column started with a lower case. There will be at least one such case happened for every line. (Update: It would be great to have only the first match). The tricky part is that the case doesn't happen at the same column for every line.
Today_is_a_Good_Day It_Doesnt_rain i_dont_Like_rainy_day
Today_is Doesnt_rain Like_rainy
Is there any way to do such text extraction using grep/sed/awk or other command?
I was trying to look for some similar solution to my problem but failed to find one.
Update: There will be at least