A tools for regex