Jump to content
php.lv forumi

preg_match latviešu burti


FT3

Recommended Posts

sveiki , tatad ir ķibele neiznu ka lai pievienot latviešu burtus 'žšāā' un tt

 

kods izskatas šadi.

function symbolCheck($input){
if (preg_match("/[^A-Za-z0-9\:\/\.\_\-]/", $input)){
return true;
}
}

 

vai nu iesakat ko citu preg_match vieta.

 

paldies.

Link to comment
Share on other sites

ir vel kadi varianti ? jo isti nesaprotu doto informāciju tāja linka.

daGreivis tev jau izdarīja lāča pakalpojumu. Ja vēl kas nav skaidrs, tad varbūt pamēģini izmantot Google Translate.

Ja nesanāk izštukot, varbūt kārtīgi gūglējot atrastu šo: http://www.regular-expressions.info/unicode.html

No offense!

Edited by WHOAMi
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...