public static String strip ( final String expression ) { final String expr = StringUtils . trimToEmpty ( expression ) ; final Matcher matcher = DELIMITED_EXPR . matcher ( expr ) ; return matcher . matches ( ) ? matcher . group ( 1 ) : expr ; }
Strip any delimiter from the specified expression .