add encode and regex tool