How do I mimic Pathauto transliterated output for an alias in my custom PHP code?
If you want to filter your string the way pathauto does it, you can use pathauto_cleanstring():

module_load_include('inc', 'pathauto', 'pathauto');
$node_title .= pathauto_cleanstring($node-&gt;title);