I am new to regex I want to capture multiple capital words. Sometime capital words can have special characters between them.
example 1:
string = string = 'MY MANAGEMENT PRIOR ASSESSMENT / NEW PLANNING SUPRESS RATE - TEAM : 14
I want the regex to capture all capital words and the special characters that seperate them
"MY MANAGEMENT PRIOR ASSESSMENT / NEW PLANNING SUPRESS RATE - TEAM"
example 2:
string2 = 'SPORT/TRACK INFO ¶·»Sport Coverage(s): All Sport primary ¶·»WWE Hi-Low: ¶·»BBC Hi-Low: ¶·»Sports Issues: can run forever ¶·»BBC Sports: kjkj '
I want the regex to capture "SPORT/TRACK INFO", "WWE", "BBC"