I need to extract a postcode from a string which is ,10, MADE UP STREET, , , MADE UP TOWN, MADE UP COUNTY, A7 , 4AB
The postcode being at the end of the string. I have the regex to extract if for example the postcode is in the format A7 4AB which is just a white space but unsure as to how to extract it with a space comma space. Any help would be massively appreciated