in reply to regex to return line with name but not if it has a number

Please show some examples of lines that you want to match and lines that you don't want to match.

It seems to me that your regex probably has quite a few problems, but I can't tell for sure if I don't know what you want to match; and, more than that, it is not possible to suggest a correction.

  • Comment on Re: regex to return line with name but not if it has a number