Hi I am new to regular expression. I have string like this
"( NATIVE_WHERE_CLAUSE = 'UnitOfMeasure.MeasurementType=[Weight]' ) AND ( NATIVE_RELATION_WHERE_CLAUSE = 'Reference_Name=[Nut to coolent oil]' )"
I tried replace the square brackets [] with single quote ' with replaceAll() method. But it did not work.
Can any one help me what will be regular expression for replacing the square brackets [] with single quote in my above string.