Re: wrong!!! Re: 有没有 replaceall for Stri# Java - 爪哇娇娃
c*r
1 楼
To represent a predefined character in regular expression, just precede it
with \
Since \ is also a special character in java strings, you need another \
For example, "." should be written as "\\."
with \
Since \ is also a special character in java strings, you need another \
For example, "." should be written as "\\."