1 Reply Latest reply on Feb 6, 2012 12:37 PM by Harbs.

    URL Convert from Hyperlinks Panel

    grefel Level 2

      hi all,

       

      i guess this is an old one, but i cannot find it in the forums. In InDesign CS5.5 (7.5.2.318)/Windows the function convert URL to Hyperlinks at the Hyperlink Panel does not work as expected. URLs with HYPHEN-MINUS (U+002D) are splitted into two URLs, this is not a Soft-Hyphen.

      There is no CS5 around for testing.

       

      Simple test: Create an document with the following text:

       

      www.test-me.de

       

      The function will create two Hyperlinks

      1. www.test
      2. -me.de

       

      I'm happily tagging URL with the GREP

       

      (?<![@\-])\b(?:http://|https://|www\.)?(?:[a-zA-Z0-9][a-zA-Z0-9._-]*\.)*[a-zA-Z0-9][a-zA-Z0-9._-]+\.(?:[a-zA-Z0-9][a-zA-Z 0-9._-]*\.)*[a-zA-Z]{2,5}[^@]*?(?=(\. |,|;|:|\)|]| |"|'|$))

       

      But this should be fixed!

       

      Regards,

      Gregor