Support » Plugin: Real-Time Find and Replace » Question about Regex

  • Resolved edryagin

    (@edryagin)


    Hi,

    Thank you for this plugin! It will save me dozens of hours.

    I haven’t yet managed to make it work with regex. The page always goes blank. Was hoping you could help me.

    Let’s assume I’m trying to change the following two phrases to “FA”.

    fosti andato
    foste andati

    To achieve this, I type in the following in “Find”:
    /fost. andat./

    “Replace with:”
    FA

    However, for some reason it doesn’t work.

Viewing 1 replies (of 1 total)
  • Plugin Author Marios Alexandrou

    (@marios-alexandrou)

    There are special characters with regex that must be preceded with another character. In your example the periods need be preceded by a \.

    So

    /fost. andat./

    Should be

    /fost\. andat\./

Viewing 1 replies (of 1 total)
  • The topic ‘Question about Regex’ is closed to new replies.