AlexYoung's blog

AlexYoung's blog

当你的才华还撑不起你的野心时,你就应该静下心来学习。

    • 首页
    • 归档
    • 关于

Java处理字符串-删除所有标点

代码 1str = str.replaceAll("[\\pP‘’“”]", ""); 在这里利用的是Unicode编码,Unicode 编码并不只是为某个字符简单定义了一个编码,而且还将其进行了归类。

11月 15 2014
« Prev1234

分类

  • JVM1
  • Java24
  • 生活感悟3
  • 黑科技2

标签

  • coding18
  • leetcode6
  • stack3
  • skill3
  • life2
  • Tree2
  • hash2
  • Arrays1
  • Bit Manipulation1
  • heap1
  • Movie1
  • dfs1
  • consectetur0

友情链接

  • CoolShell
  • DeepinMind
  • MindHacks
  • Beyond the Void
  • Script Ahead,Code Behind
  • WILLIAM M. BRIGGS

新浪微博

赞助我


RSS 订阅

欢迎第 AmazingCounters.com 位访问者

Labeling is cheap. Show me the story

Powered by hexo and Theme by Geekman © 2015 AlexYoung