is there any simple linux program that can just parse regex?

@thing@thegayagenda.fans

is there any simple linux program that can just parse regex?