Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #4238
    user
    Participant

    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);
    #4246
    user
    Participant

    is anybody here?

    #4247
    Yutaka Emura
    Keymaster

    [βγδζθκλμνξπρστφχψς]σ[βγδζθκλμνξπρστφχψς]

    should be

    ([βγδζθκλμνξπρστφχψς])σ([βγδζθκλμνξπρστφχψς])

    #4249
    user
    Participant

    thanks

    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

    #4251
    Yutaka Emura
    Keymaster

    1) 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.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.