how to use regular expressions to remove / Smile / Smile that removes all the " / expressions " tab.
------ Solution ---------------------------------------- ----
If all expressions are represented by two characters , then you can as follows:
" The weather today is good ah , very happy very happy / Smile / Smile ". replaceAll ("/ [\ u4E00-\ u9FB0] {2}", "") < br> ------ For reference only ---------------------------------------
Thank you ~ This very helpful to me
没有评论:
发表评论