کد PHP:
q=<?php echo preg_replace( '/[^a-z]/i', '', get_the_title( $post->ID ) ); ?>"
اینو امتحان کنید.