• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Searching mails for keywords in select headers in Opera 10.63

    Opera for Windows
    2
    3
    984
    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.
    • vgakkhar
      vgakkhar last edited by

      In my Opera 10.63, I have to very frequently search for mails having my chosen keywords -, some time in the 'From' header, some other time in the 'Subject' header, and other times in some other headers.

      Some time I have to search for one keyword in the 'From' header, and/ or another keyword in another header.

      Can someone please guide me how to accomplish this?

      vgakkhar

      Reply Quote 0
        1 Reply Last reply
      • burnout426
        burnout426 Volunteer last edited by

        Example 1:

        From header contains keyword1
        and
        Subject contains keyword2

        Example 2:

        From header contains keyword1
        and
        Any header matches regexp subject: .*keyword2

        Note that in those cases, the keyword could be in the middle of the word. If you want to match only words, you'd do something like:

        Example 3:
        Any header matches regexp subject: .*\bkeyword2\b

        Example 4:
        Subject matches regexp \bkeyword2\b

        Look up regexp cheat sheets on the net to help you with regexp.

        Note that with regexp for the any header rule, ^ and $ don't work. It's like they're implied at the beginning and end of the field.

        Also note that the any header rule is really an "any header line" rule. This mean that for headers that wrap to multiple lines, each line is considered a different header. This means that for regexp, if you want to search for a header that begins with subject:, you'll only be able to search for the first line of the header.

        Also note that the any header rule only searches the first set of headers in the source of the message. It won't skip passed content and search the headers for attachments.

        Reply Quote 0
          1 Reply Last reply
        • vgakkhar
          vgakkhar last edited by

          Dear burnout426,

          Thanks for your guidance. I will try this and revert back soon.

          vgakkhar

          Reply Quote 0
            1 Reply Last reply
          • First post
            Last post

          Computer browsers

          • Opera for Windows
          • Opera for Mac
          • Opera for Linux
          • Opera beta version
          • Opera USB

          Mobile browsers

          • Opera for Android
          • Opera Mini
          • Opera Touch
          • Opera for basic phones

          • Add-ons
          • Opera account
          • Wallpapers
          • Opera Ads

          • Help & support
          • Opera blogs
          • Opera forums
          • Dev.Opera

          • Security
          • Privacy
          • Cookies Policy
          • EULA
          • Terms of Service

          • About Opera
          • Press info
          • Jobs
          • Investors
          • Become a partner
          • Contact us

          Follow Opera

          • Opera - Facebook
          • Opera - Twitter
          • Opera - YouTube
          • Opera - LinkedIn
          • Opera - Instagram

          © Opera Software 1995-