What is the problem with this regular expression when I use the global flag and the case insensitive flag? Query is a user generated input. The result should be [true, true].
Hello fellow coders, I'm new to Javascript and PHP and stuff like that, but I have experience programming in HTML, C++, and VB. What I'm trying to do: I'm creating a login system and have the following requirement. When the user is logged in, I want the their account information displayed at all times at the top of every page. When ...