Matt Kettler wrote:
/((mountain.*clouds)|(clouds.*mountain))/i WILL match cloudy mountaineers.. There are no restrictions on what characters come before or after the expression.
Actually, it wont catch cloudy mountaineers because the expression specifies clouds not cloud nor cloudy.
If you want to catch cloudy mountaineers, then the expression should say: /((mountain.*cloud)|(cloud.*mountain))/i