Tiya Khambadkone wrote:My job is to get the regular expression from the database. In this case the value in a database table is \*\*GET which is varchar2.
Then, I will get a 100 MB file and I have to replace this regular expression with another regular expression \*\*POST and this value(varchar2) will again be fetched from the database.
My requirement is
Change "\*\*GET" to "\*\*POST" throughout a file
Henry Wong wrote:
You might want to consider using the replace() method, that takes two strings, instead. It looks like you are trying to replace a value with another value, *and* you don't understand regular expressions. So, why use regular expressions, when you don't have to?
Tiya Khambadkone wrote:
My job is to get the regular expression from the database. In this case it is \*\*GET Then, I will get a 100 MB file and I have to replace this regular expression with another regular expression \*\*POST
My requirement is
Change "\*\*GET" to "\*\*POST" throughout a file