use preg_match() to get the word if user send hack how can i get what the user send?
                  
                  
                  I want only the word
                  
                  
                
you need to specify the word as a group in your pattern, then get it with the third argument that you send to preg_match
 Vanellope von Schweetz
                          
                        
                      
                    
                    
                    
                    
                      Автор вопроса
                      
                      
                        
                          Vanellope von Schweetz
                          
                        
                      
                    
                    
                    
                    
                      Автор вопроса
                    
                    
                  Обсуждают сегодня