Test, validate and match regular expressions
Matches runs of at least 4 word characters and splits them into two named capture groups: 'Incode' greedily captures everything except the last three characters, while 'outcode' captures exactly the final three word characters. This is typically used to break alphanumeric strings, such as UK postcode segments, into a leading part and a trailing 3-character suffix for separate processing.