use a regular expression to expect for exactly 34 characters

<return>(\w{34})</return>

\w  is the same of this expression [a-zA-Z0-9_]  (Ref.:
http://www.w3schools.com/jsref/jsref_regexp_wordchar.asp )

if you are expecting other characters change the "\w" for the extend form
and add the new ones.

Reply via email to