regSearch Function added

Search by regular expression