$str='xjxexrxoxexnexsx'; print join '', split /x/, $str; #prints my monkname