regex - Java string.replaceFirst problems -


i'm trying replace part of string. part contains special characters:

#l(inches)=24# 

i know replacefirst regex driven can't seem create regular expression matches part in string, ideas?

#.*?# 

this should match entire string above.


Comments