Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    QML and Qt Quick
    1
    2
    1497
    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.
    • T
      TheIlliterate last edited by

      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 Reply Quote 0
      • T
        TheIlliterate last edited by

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

        Found something for the above

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