<?php $regex = '#(IsBasicLatin|IsLatin)#'; $string = '[\p{IsBasicLatin}\p{IsLatin-1Supplement}]{1,1000}'; if (preg_match($regex, $string)) { echo 'Lorem Ipsum Shipmsum flipsu?@#$$%^&:€m'; }
You have javascript disabled. You will not be able to edit any code.