Recursive? regular expression, or multiple search macro?
Posted: Wed Sep 30, 2009 3:52 pm
Greetings,
I would appreciate it if anyone can help me set up a regex to use in WildEdit to search out a list of terms and the terms to replace them.
The original text looks like this:
iµsampi j¤tiyo iµsampi j¤tiyo pa¾¾¤sampi j¤tiyo j¤tisatam pi j¤tisahassampi j¤tisatasahassampi anek¤ni'pi j¤tisat¤ni anek¤ni'pi j¤tisahass¤ni anek¤ni'pi
What needs to be done is:
Search for and replace one at a time: iµsampi, iµsampi, pa¾¾¤sampi, anek¤ni'pi, j¤tisat¤ni ...
Replace with: iµsam pi, iµsam pi, pa¾¾¤sam pi, anek¤ni pi, j¤ti-sat¤ni ...
Currently set up as: regular expression, match case, search subfolders
use POSIX regular expressions
I have read the help files and a few pages back in this and the WildEdit forums (not necessarily understanding them) I do not understand the logic of the 'regular expression' option and it's relationship to the 'replace format' option. I have it checked, but it does not seem to be seeing regular expressions in my input, that is, it seems to be seeing literal '.' even when not escaped. Sometimes when I input a regular expression that works in Textpad, it doesn't work in Wild Edit. Any help explaining this?
I seem to be able to use the search tool within Textpad with regular expressions without problems
I would appreciate it if anyone can help me set up a regex to use in WildEdit to search out a list of terms and the terms to replace them.
The original text looks like this:
iµsampi j¤tiyo iµsampi j¤tiyo pa¾¾¤sampi j¤tiyo j¤tisatam pi j¤tisahassampi j¤tisatasahassampi anek¤ni'pi j¤tisat¤ni anek¤ni'pi j¤tisahass¤ni anek¤ni'pi
What needs to be done is:
Search for and replace one at a time: iµsampi, iµsampi, pa¾¾¤sampi, anek¤ni'pi, j¤tisat¤ni ...
Replace with: iµsam pi, iµsam pi, pa¾¾¤sam pi, anek¤ni pi, j¤ti-sat¤ni ...
Currently set up as: regular expression, match case, search subfolders
use POSIX regular expressions
I have read the help files and a few pages back in this and the WildEdit forums (not necessarily understanding them) I do not understand the logic of the 'regular expression' option and it's relationship to the 'replace format' option. I have it checked, but it does not seem to be seeing regular expressions in my input, that is, it seems to be seeing literal '.' even when not escaped. Sometimes when I input a regular expression that works in Textpad, it doesn't work in Wild Edit. Any help explaining this?
I seem to be able to use the search tool within Textpad with regular expressions without problems