Added regex query tool