Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Help with replace expression

    Help wanted · · · – – – · · ·
    2
    3
    41
    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.
    • asaan hamdy
      asaan hamdy last edited by

      Hi guys,
      I would like to know how to search for numbers like this 06446 and turn them into this 06,446
      Thanks a lot.

      Alan Kilborn 1 Reply Last reply Reply Quote 0
      • Alan Kilborn
        Alan Kilborn @asaan hamdy last edited by

        @asaan-hamdy

        Well, if your numbers always look exactly like your example, then the following should work:

        find: (\d\d)(\d{3})
        repl: ${1},${2}
        search mode: regular expression

        1 Reply Last reply Reply Quote 4
        • asaan hamdy
          asaan hamdy last edited by

          Thank you so much

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Copyright © 2014 NodeBB Forums | Contributors