m/^a[^ab]*b$ [download]
In reply to Re: A Regex simple Question by injunjoel in thread A Regex simple Question by pysome