Build, test, and debug regular expressions
Parses hydraulic valve order codes such as Bosch Rexroth Z2S22 dual check valves. It matches strings starting with 'Z2S22', followed by a function in port (A, B, or -), cracking pressure (1-4), a hyphen, unit series '5X', a '/' or '=' separator, optional seal material 'V', an optional special version (SO40/SO60), and any trailing additional details. Useful for validating and extracting structured data from industrial part numbers in multiline text.