adds select to match characters