alphanumeric – PHP Reference Book Blog https://phpreferencebook.com/ PHP Reference: Beginner to Intermediate PHP5 Sun, 01 Oct 2017 17:21:19 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.13 RegEx PERL Compatible Character Class \w https://phpreferencebook.com/corrections/backslash-w/ Sat, 31 May 2008 02:11:43 +0000 https://phpreferencebook.com/?p=13 (pg. 150)

Book version:

\w – Letter (a-z, A-Z)

Correct version:

\w – Letter, Digit, Underscore [a-zA-Z0-9_]

This is similar to the syntax for alphanumeric: [:alnum:]

]]>