• Login
Community
  • Login

RegEx: Modify text between ' ' to lowercase

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 651 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.
  • M
    Michael Wenzel
    last edited by Jan 23, 2019, 8:18 PM

    Hi,

    I need some help by finding the right regex for modifiing the text between ’ ’ to lowercase within many html files.

    Here is an example of one line I want to modify:
    {{ basic.symbol(id~‘_heating_ind’, ‘VENTILATION.heating.Is_on’, ‘’, ‘Sani_floor_heating.svg’, 1, ‘’, ‘orange’) }} Gabi

    Should be modified to :
    {{ basic.symbol(id~‘_heating_ind’, ‘ventilation.heating.Is_on’, ‘’, ‘sani_floor_heating.svg’, 1, ‘’, ‘orange’) }} Gabi

    Could somewone help to find the right regex for notepad++?

    Thank you!

    E 1 Reply Last reply Jan 23, 2019, 8:22 PM Reply Quote 1
    • E
      Eko palypse @Michael Wenzel
      last edited by Jan 23, 2019, 8:22 PM

      @Michael-Wenzel

      find what: '.*?'
      replace with: \L$0

      1 Reply Last reply Reply Quote 4
      • M
        Michael Wenzel
        last edited by Jan 23, 2019, 8:56 PM

        @Eko-palypse
        THX

        1 Reply Last reply Reply Quote 1
        3 out of 3
        • First post
          3/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors