Community

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

    Regex find single quote prefaced by a letter and followed by a letter

    Help wanted · · · – – – · · ·
    2
    3
    384
    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.
    • John Tucker
      John Tucker last edited by

      Replace ’ with this # while the ’ is in a word.

      Tried this FIND ([A-z]{1,})’([a-z]{1,}) and this REPLACE \1#\2

      And not sure what I have done wrong. It doesn’t work.
      Any help appreciated.

      Alan Kilborn 1 Reply Last reply Reply Quote 0
      • Alan Kilborn
        Alan Kilborn @John Tucker last edited by

        @John-Tucker

        Maybe try:

        Find ([A-Za-z])'(?=[a-z])
        Repl \1#

        1 Reply Last reply Reply Quote 1
        • John Tucker
          John Tucker last edited by

          Thanks, that worked a treat!

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