The problem of match the Russian

Started on the old forum in December 2012 · view the original in the archive · old links redirect here

1 reply · 654 views · started 13 years ago · 1 min read

2 participants
moonsn Newbie · 2 posts #1

i want match Russian in the script and translate it by Google and save it. who can help me?:-I

arnage Lead · 811 posts #2

In the script you can't 🙂 , in a string match with:

preg_match('/^[\p{Cyrillic}]+$/i', $string);
<!DOCTYPE html PUBLIC "-//***WAPFORUM**.**RS***

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close