- AuthorPosts
- March 16, 2007 at 1:33 am #4238userParticipant
hello
why these dont work?
document.selection.Replace("[βγδζθκλμνξπρστφχψς]σ[βγδζθκλμνξπρστφχψς]", "1ο2", eeFindReplaceRegExp | eeFindReplaceQuiet | eeReplaceAll);
(this is supposed to replace σ with ο when σ is between any of the letters included in brackets
document.selection.Replace(" πλαομ", " πλασμ", eeFindReplaceQuiet | eeReplaceAll);
document.selection.Replace("/", "λ", eeFindReplaceQuiet | eeReplaceAll);
document.selection.Replace("/", "ν", eeFindReplaceQuiet | eeReplaceAll);
document.selection.Replace(".s", ".n", eeFindReplaceRegExp | eeFindReplaceQuiet | eeReplaceAll);
document.selection.Replace("ns", "n", eeFindReplaceRegExp | eeFindReplaceQuiet | eeReplaceAll);
document.selection.Replace(",n", "n", eeFindReplaceRegExp | eeFindReplaceQuiet | eeReplaceAll);
document.selection.Replace("ss", "s", eeFindReplaceRegExp | eeFindReplaceQuiet | eeReplaceAll);March 22, 2007 at 11:58 pm #4246userParticipantis anybody here?
March 23, 2007 at 12:20 am #4247Yutaka EmuraKeymaster[βγδζθκλμνξπρστφχψς]σ[βγδζθκλμνξπρστφχψς]
should be
([βγδζθκλμνξπρστφχψς])σ([βγδζθκλμνξπρστφχψς])
March 24, 2007 at 10:50 am #4249userParticipantthanks
1) what about the others?
2) I would like to replace:
"." followed by space
with:
"," followed by space
but, ONLY when the first (“.” followed by space) is followed by anything but uppercase character
3) eeFindReplaceOnlyWord what really means? it means that it will replace the string only if its surrounded by spaces, commas, fullstops, newlines, etc?
4) I would like to lowercase any uppercase letter that is surrounded between two lowercase letters
thanks
March 25, 2007 at 6:20 am #4251Yutaka EmuraKeymaster1) and 4) Please see the complete explanation of the regular expressions at:
http://www.emeditor.com/help/howto/search/search_regexp_syntax.htm
http://www.emeditor.com/help/faq/search/search_reg_exp_ex.htm
If you still have questions, you can post your questions at Regular Expressions forum if it is related to regular expression search.
2) You can replace “. ” with “, “.
3) eeFindReplaceOnlyWord – That is correct.
- AuthorPosts
- You must be logged in to reply to this topic.