I want to use a regex to search a string but not include part of the regex in the returned (or matched) string.
I want to search for and return what occurs after the "CLD: " but don't want the "CLD: " included in the returned (or matched) string.
cloudRegex = re.compile(r'CLD:\s.*')
From the text below I was hoping to return FEW040.
FF YBRFYMYX YMMCYMYX YSRFYMYX
061702 YBBNITAS
ATIS YBBN H 061702
RWY: 14
OPR INFO: RUNWAY 19 LEFT AVAILABLE AS PUR NOTAM. MULTIPLE
TAXIWAY CLOSURES REFER NOTAMS.
WND: 200/6
VIS: GREATER THAN 10 KM
CLD: FEW040
+ TMP: 13
+ QNH: 1016