Hello All, I'd understand to know class editor parser regular express, for example, for support name, ^(? .*)-(? .*)|(? .*) It means if input PS-101 in name, it will fill PS in device_type_code, and 101 in number. But I don't understand why |(? .*) ? My case here is, the support name maybe 3 parts or 4 parts, for example, PS1-AAA-bb or PS1-AAA-BB-C. No problem for the first three attributes, for the fourth part "C", if it exist, fill in another attribute, if it does not exist, just fill the first three attributes. Is it possible?
↧