How to search an array?

Incidentally, if you just want to "clip" that portion out of the METAR string (ignoring the rest), you can use the "Change" option as well:

In this example, the "Search for" string includes wildcards (.*) that match the beginning and end of the string -- then the "Replace with" string references those captured digits by position (the $1 is the first capture group), effectively replacing the whole incoming payload with just those four numbers (as datatype "string"). FWIW...