Announcement

Collapse
No announcement yet.

GREP, handy little tool

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • GREP, handy little tool

    http://gskinner.com/RegExr/

    Also get the AIR Tool http://gskinner.com/RegExr/desktop/

    This is quite handy in understanding GREP, if you use InDesign and you've seen the GREP in the Find Search but never used it you should

    It's quite handy.


    In the website above one regular expression to find in a document might be say people's email address and you want to apply a character style to everyone's email address.

    This search

    ([\w-\.]+)@((?:[\w]+\.)+)([a-zA-Z]{2,4})

    Would find all email addresses


    It's the last example on the right hand side - ok it's quite complex LOL.


    But if you double click the expression it loads in the Find field on the left panel.

    You can then hover over each symbol to find out what it's doing.


    But perhaps starting off with something simple would be best!


    For example

    \t\t+

    would find all double tabs + any more tabs

    Changing to

    \t

    would replace all double tabs followed by more tabs with a single tab.


    Handy for cleaning up text imported from Word - and the user loves to just keep tabbing across instead of setting proper tabs


    Well hopefully it's helpful

    "May your hats fly as high as your dreams"Michael Scott

  • #2
    Hmmm. Interesting. I'll use the web app, but the download will have to wait until I trust it.
    This post is brought to you by the letter E and the number 9. Those are the buttons I push to get a Twix out of the candy machine.
    "I put my heart and my soul into my work, and have lost my mind in the process."

    Comment


    • #3
      I've done the download - all good here...

      What's there not to trust Ah I completely understand - you're a wise badger.


      Here's more about it http://www.gskinner.com/blog/archive..._free_onl.html

      "May your hats fly as high as your dreams"Michael Scott

      Comment


      • #4
        Aparently Grant Skinner is well known in the Flash world and with Actionscript stuff and I think that this GREP is also used in Flash scripting... but I don't know?

        "May your hats fly as high as your dreams"Michael Scott

        Comment


        • #5
          Is this the same GREP as I'm using ... with the dodgy wastebasket app icon?

          If so, then I much prefer Editra, does same job but with pretty colours.

          Comment


          • #6
            Ah, I didn't make the connection to Grant Skinner.

            Chris, do you have a link to Editry?

            *wanders off to ask Teh Googe...*
            This post is brought to you by the letter E and the number 9. Those are the buttons I push to get a Twix out of the candy machine.
            "I put my heart and my soul into my work, and have lost my mind in the process."

            Comment


            • #7
              ... think it's www.editra.org

              off top of my head, without the mighty Google lol

              Comment


              • #8
                Originally posted by bulgariacalling View Post
                Is this the same GREP as I'm using ... with the dodgy wastebasket app icon?

                "May your hats fly as high as your dreams"Michael Scott

                Comment


                • #9
                  More linkys http://indesignsecrets.com/grep

                  "May your hats fly as high as your dreams"Michael Scott

                  Comment


                  • #10
                    Originally posted by bulgariacalling View Post
                    ... think it's www.editra.org

                    off top of my head, without the mighty Google lol
                    Not sure that's the same thing? What do you do with Editra?

                    "May your hats fly as high as your dreams"Michael Scott

                    Comment


                    • #11
                      same as I used to do with Grep ... but with colour!

                      Comment


                      • #12
                        PS. the colour makes the coding a bit easier, honest!

                        Comment


                        • #13
                          Oh right - I use ExtendScript toolkit for editing javascript (on a very basic level)

                          But that editra seems nice - not sure what I could use it for lol.

                          "May your hats fly as high as your dreams"Michael Scott

                          Comment

                          Search

                          Collapse

                          Sponsor

                          Collapse

                          Incredible Stock

                          Latest Topics

                          Collapse

                          • PrintDriver
                            Reply to Happy Thanksgiving!
                            PrintDriver
                            Happy Thanksgiving to all!
                            Just waiting for dinner to finish cooking. We are eating fashionably late this year. Mainly because the bird was larger than expected, but that 's ok.
                            Lots of hooverdoovers...
                            Today, 04:17 PM
                          • PanToshi
                            Reply to Happy Thanksgiving!
                            PanToshi
                            Happy Thanksgiving!

                            ...
                            Today, 01:20 PM
                          • B
                            Reply to Happy Thanksgiving!
                            B
                            Happy Thanksgiving everyone (even to those of you outside the U.S.)!

                            As for turkey, I worked a summer job in a Norbest butter ball turkey processing plant before college, and haven't touched...
                            Today, 12:57 PM
                          • Arka-Software
                            Reply to Software that can do vector patterns?
                            Arka-Software
                            There are many software in the market which are using for vector pattern are:- 1) Inkscape 2) Xara Xtreme 3) Skencil 4) Scribus 5) VRR 6) CoceptDrow PRO 7) ZeusDraw 8) MagicTracer 9) Nodebox 10) Tgif
                            Today, 12:46 PM
                          • PrintDriver
                            Reply to Software that can do vector patterns?
                            PrintDriver
                            You want a program that is used to dealing with vector axis data. Photoshop would probably be inappropriate.

                            The only way I can think to do this is to have a script written for Illustrator...
                            Today, 09:10 AM
                          GDF A division of Mediabistro Holdings Adweek | Mediabistro | Clio | Film Expo Group Contact Us | Terms of Use | Privacy Policy Copyright 2016 Mediabistro Holdings
                          Working...
                          X