in reply to Check if a variable contains only one letter?
Use anchors: /^X+$/
Fruit and Vegetables
Me, that's why I'm so cool
Logic (separated into Horror and Brilliance)
Results (271 votes). Check out past polls.