/^a([^a]|a[^b])*a?b$/ [download]
In reply to Re: A Regex simple Question by johnlawrence in thread A Regex simple Question by pysome