motif finder using Regular Expressions