Basic search implemented through regex matching