Quick question about regex_match |
When using regex_match, how would I be able to use the - character? An example of the code is posted below. What would be the correct format? Thanks!
Code: $rules = [
Escape the - character with a backslash:
PHP Code: $rules = [
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Regular expression tester trainer
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |