There is a regular code: /^[^.][\w\s-.\,!\?()]+[^.]/iu , but this code does not read characters such as: 0\/|=+@$#%^&*"â„–;:?'<> , How to make him start reading them?
|
There is a regular code: /^[^.][\w\s-.\,!\?()]+[^.]/iu , but this code does not read characters such as: 0\/|=+@$#%^&*"â„–;:?'<> , How to make him start reading them?
Source: https://ru.stackoverflow.com/questions/513993/
All Articles
\s-.it looks very strange, because \ s means any whitespace character, and not the space itself, and using it as the beginning of the interval is unpredictable, it’s better to use the space itself. And the interval is 'space-.' in theory should give a lot of characters, but not all. Look at the asciitable.com ASCII table to set the correct intervals or list the characters one by one - Mike