String recognition for css