For the creation of a prepopulate link, how can i strip out slashes if they occur in the title?
echo '&lt;a href="/node/'.$node-&gt;field_eventform['und'][0]['nid'].'/'.str_replace('/','',$node-&gt;title).'/'.$node-&gt;nid.'"&gt;'.str_replace('/','',$node-&gt;field_eventform['und'][0]['node']-&gt;title).'&lt;/a&gt;';


You have to check, if the link works, when you strip the '/', if not, replace the '' in str_replace with the correct replacement, that your path alias use.