[ad_1]
Something like this should work
/^[a-zA-Z' \.\-]*[a-zA-Z]+[a-zA-Z' \.\-]*$/
Which translates to ‘at least one letter surrounded by zero or more of any valid character’.
[ad_2]
solved Regex expression for Apostrophe [closed]
[ad_1]
Something like this should work
/^[a-zA-Z' \.\-]*[a-zA-Z]+[a-zA-Z' \.\-]*$/
Which translates to ‘at least one letter surrounded by zero or more of any valid character’.
[ad_2]
solved Regex expression for Apostrophe [closed]