You can use string manipulation. In the example below the substring starts at a specified character position and continues to the end of the string (removing the first n characters: in the given case - "ID:"):
$(this).attr("attribute name").substring(3);