开发者

Java string.replaceFirst problems

开发者 https://www.devze.com 2023-03-16 15:19 出处:网络
I\'m trying to replace a part of a string. The part contains some special characters: #L(inche开发者_运维问答s)=24#

I'm trying to replace a part of a string. The part contains some special characters:

#L(inche开发者_运维问答s)=24#

I know replaceFirst is regex driven but I can't seem to create a regular expression that matches this part in a string, any ideas?


#.*?#

This should match the entire String above.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号