trying to find best way to display sample regex