I want to allow nickname like " Dog's Boss". How to add an Inverted Comma ' in preg_match ?
I can't put it directly in preg_match( '/^[a-zA-Z0-9_. &'*-]+$/', $arg0 ), it comes out an error.
I want to allow nickname like " Dog's Boss". How to add an Inverted Comma ' in preg_match ? I can't put it directly in preg_match( '/^[a-zA-Z0-9_. &'*-]+$/', $arg0 ), it comes out an error.
|
It's an Apostrophe https://www.deanbassett.com |
It's an Apostrophe It works, Thank you! |