regular experssions

Luke
2006-10-23
2013-04-25
  • Luke
    Luke
    2006-10-23

    I would appreciate better documentation of the regular expression search feature. I can't get it to work. For example, I want to find every phrase that begins with "(", then has any number of characters, then ", ", then any number of characters, then ")", and replace that with nothing (delete that phrase). However, the following search expression doesn't find anything:

    (+)

    Even though it should be finding, for example "(Holland, 1890)" or "(Britain, 14??)". What gives?

     
    • ikiki
      ikiki
      2006-11-24

      try this:
      \([^\.]+\.[^\)]+\)
      or
      \(\w+\.\d+\)

       
    • Beach Plum
      Beach Plum
      2008-05-15

      I liked this resource, http://www.regular-expressions.info/

      but that may not be the question