Build, test, and debug regular expressions
Parses trading signal messages by matching order actions (BUY, SELL, LIMIT, STOP) paired with asset symbols of 6+ uppercase characters, or symbols appearing before BUY/SELL separated by whitespace, *, @, or #. A final alternative independently captures the keyword GOLD for commodity signals. Typically used to extract trade instructions and instrument names (currency pairs, gold) from chat feeds, Telegram channels, or signal automation pipelines, with global/multiline flags to find multiple signals across lines.