Test, validate and match regular expressions
This regex captures two distinct sequences of digits separated by a specific keyword or symbol, such as the Chinese terms '立减' (instant discount), '减' (minus), or a hyphen '-'. It is highly effective for extracting promotional discount values like '100减20' or '50立减10', which are frequently used in Chinese e-commerce platforms. The global and multiline flags allow it to find all matching patterns across a multi-line text.