Search
 
SCRIPT & CODE EXAMPLE
 

PHP

determine special characters in php

<?php

$string = 'foo';

if (preg_match('/['^£$%&*()}{@#~?><>,|=_+¬-]/', $string))
{
    // one or more of the 'special characters' found in $string
}
Comment

PREVIOUS NEXT
Code Example
Php :: uuid package generator laravel 
Php :: base64 encode username password php example 
Php :: set charset of response php 
Php :: remove add media button wordpress editor 
Php :: carbon add days from specific date 
Php :: get client size in laravel 
Php :: get featured image url in wordpress 
Php :: Laravel loop with counter 
Php :: php float 2 decimais 
Php :: codeigniter get user ip 
Php :: php sha256 
Php :: convert space to 20 php 
Php :: How to Get the last element of an array in PHP – end() 
Php :: how to remove token while logout using laravel 8 
Php :: how to delete image from aws using laravel 8 
Php :: form validation nullable laravel 
Php :: wordpress custom loop latest first 
Php :: php decode html special characters 
Php :: php copyright footer 
Php :: laravel validation unique email 
Php :: save html form data to text file using php 
Php :: get domain from subdomain php 
Php :: http error 500 phpmyadmin 
Php :: php milliseconds 
Php :: make a seeding file in laravel 
Php :: how to get array dont similer elements in php 
Php :: Find out how many years there are in php between years 
Php :: how to run symfony project 
Php :: deprcation problem phpmyadmin ubuntu 
Php :: how to switch from php7.4 to php7.3 mac 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =