Your requirements are a little bit unclear. But it seems to me that you just want to get the bit at the end of the string, following the last space? You could just use listLast(), specifying a space as the delimiter.
<cfset yourString = "abc def def test|test2|test3">
<cfoutput>
#listLast(yourString, " ")#
</cfoutput>