Page 1 of 1
Global replace of regexp to upper case
Posted: Tue Jun 02, 2009 3:56 pm
by honyk
I have documents containing extensions specified as .xml, .csv etc what I would like to replace with XML, CSV ...
I can find appropriate occurencies using regexp ' \.([A-Za-z]{3})' and replace them using ' $1' keyword. Is there any way how to convert the result into upper case?
Re: Global replace of regexp to upper case
Posted: Tue Jun 02, 2009 5:51 pm
by sorin_ristache
Hello,
Do you mean a rename of the files to change the file extension using
the dialog Find/Replace in Files? That is not possible. That dialog replaces text only in the file content. It does not rename files.
Regards,
Sorin
Re: Global replace of regexp to upper case
Posted: Thu Jun 04, 2009 12:02 am
by honyk
I mean to replace content of file, not file extension. It is possible to perform uppercase conversion during replacement?
Re: Global replace of regexp to upper case
Posted: Thu Jun 04, 2009 10:57 am
by sorin_ristache
No, that is not possible. The replace expression does not allow a replace function that is available in specialized regexp languages.
Regards,
Sorin