I want to match a string to make sure it contains only letters.
I\'ve got this and it works just fine:
var onlyLetters = /^[a-zA-Z]*$/.test(myString)
var regexp = /\B\#[a-zA-Z\x7f-\xff]+/g; var result = searchText.match(regexp);