阅读背景:

如何获取匹配字符串(给定值上的特殊字符(如+ - =。etc)或字符串(a-z字母)。

来源:互联网 

i have here a pure java code, this one gives me an output of "Special Characters are: java.util.regex.Matcher[pattern=[\p{Punct}&&[^_]]+ region=0,8 lastmatch=&&=+-]" as i compile & run, but i want only to have an output of "Special Characters are: &&=+-" based on my given value. and also the same with strings as "strings are: sam" but dont know how to do this, pls help... i used netbeans idei have here a pure java code, this one gives me




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: