Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Hello QT Angels: What could be the regular expression for stripping Re: Fwd: or Fw: from Subject of Email
Forum Updated to NodeBB v4.3 + New Features

Hello QT Angels: What could be the regular expression for stripping Re: Fwd: or Fw: from Subject of Email

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 1 Posters 1.6k Views 1 Watching
  • 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.
  • T Offline
    T Offline
    TheIlliterate
    wrote on last edited by
    #1

    Hello Angles

    I am looking for a regular expression which will help in stripping Re: Fw: , could be repeating many times in sequence.
    E.g Re: Fw:Re: Suject Of Email
    or
    Fw:Fw:Fw: Subject of Email
    or
    Fwd:Fwd:Fwd: Subject of Email

    With Added complexity that this Regular expression should able to work in different languages.
    "Re:" or "Fw:" could be translated to something else in some other script. The regex script should still be able to strip out them.

    Or any other solution would be helpful

    Thanks
    The Illiterate

    1 Reply Last reply
    0
    • T Offline
      T Offline
      TheIlliterate
      wrote on last edited by
      #2

      http://stackoverflow.com/questions/9153629/regex-code-for-removing-fwd-re-etc-from-email-subject

      Found something for the above

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved