• Login
Community
  • Login

Replace all words that start with the letter F

Scheduled Pinned Locked Moved General Discussion
2 Posts 2 Posters 227 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    Brian_cnc
    last edited by May 13, 2024, 5:48 PM

    Hello,

    Can someone please help me with a replacement to change all words in a file that start with F and have random numbers after it including a decimal point, ex. F2345. with “F20.”?

    Thanks

    P 1 Reply Last reply May 13, 2024, 5:52 PM Reply Quote 0
    • P
      PeterJones @Brian_cnc
      last edited by PeterJones May 13, 2024, 5:53 PM May 13, 2024, 5:52 PM

      @Brian_cnc ,

      FIND = F\d+\.
      REPLACE = F20.
      SEARCH MODE = Regular Expression

      ----

      Useful References

      • Please Read Before Posting
      • Template for Search/Replace Questions
      • Formatting Forum Posts
      • Notepad++ Online User Manual: Searching/Regex
      • FAQ: Where to find other regular expressions (regex) documentation
      1 Reply Last reply Reply Quote 3
      1 out of 2
      • First post
        1/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors