Removing part of string retrieved from $_SERVER["REQUEST_URI"] in webform default value field I'm trying to figure out if doing this is possible. I'm not very good at php so I'm trying to avoid having to create a module or something else to do this. 

What I am trying to do is this:
In the default value field for a section in my webform, $_SERVER["REQUEST_URI"] to return the URL that the form is on, however, the entire URL is retrieved. (/cms/?q=content/82245940-initial-services) I want to cut out the non-identifying part of the URL so that I'm left with 82245940-initial-services. Is there a way to code this into the default value field(1 line), or do I need to create special code to do this?

Something like this:
$_SERVER["REQUEST_URI"-"http://example.com/cms/?q=content"]
If you'r working with drupal you should use drupal_get_path_alias()

$path = drupal_get_path_alias();
$value = str_replace('content/', '', $path);