Menu

"FS" Symbol in Notepad++

2013-04-29
2013-04-30
  • Robert Hall

    Robert Hall - 2013-04-29

    Hello,

    How to replace all the "FS" (value 28) symbols in Notepad++?

    I cannot copy or paste them...

    Many thanks,

     

    Last edit: Robert Hall 2013-04-29
  • Fool4UAnyway

    Fool4UAnyway - 2013-04-29

    Select one of them and then open the Replace dialog (Ctrl+H).

     
  • THEVENOT Guy

    THEVENOT Guy - 2013-04-29

    Hi Robert,

    It's quite easy with regular expressions !

    • Set the "Regular expression" search mode.

    • Type \x1C in the SEARCH dialog ( HEXA value of 28 ) .

    • Leave the REPLACEMENT dialog EMPTY.

    • Click on the "Replace All" button => All the FS character ( "File Separator" ) are removed, at once.

    I did the test on your attached file and it's all OK !

    Cheers,

    guy038

    P.S. :

    You will find good documentation, about the new PRCE Regular Expressions,
    used by N++, since the 6.0 version, at the TWO addresses below :

    http://www.boost.org/doc/libs/1_48_0/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html

    http://www.boost.org/doc/libs/1_48_0/libs/regex/doc/html/boost_regex/format/boost_format_syntax.html

    The FIRST link concerns the syntax of regular expressions in SEARCH

    The SECOND link concerns the syntax of regular expressions in REPLACEMENT

    BTW : Your S/R works, as well, with a version older than 6.0 !

     

    Last edit: THEVENOT Guy 2013-04-29
  • Robert Hall

    Robert Hall - 2013-04-30

    Thank you Guy, you are a genius.

    Merci!