我正在尝试编写一个正则表达式来将以下字符串拆分为段。
#if [Customer.OrderQuantity] > 5 #then 1000 #if [Customer.OrderQuantity] < 5 #then 500 #else 100
1st Segment: #if [Customer.OrderQuantity] > 5 #then 1000
2nd Segment: #if [Customer.OrderQuantity] < 5 #then 500
3rd Segment: #else 100
非常感谢您的建议!