How can I detect regular expressions in an Outlook-Mail subjectline and automatically...

Diskutiere und helfe bei How can I detect regular expressions in an Outlook-Mail subjectline and automatically... im Bereich Outlook.com im Windows Info bei einer Lösung; I'm trying to check the subject line to a match with my regex. If it hits I would like to automaticly hyperlink the matches, so my browser opens a... Dieses Thema im Forum "Outlook.com" wurde erstellt von FlorianB98, 17. Mai 2019.

  1. FlorianB98
    FlorianB98 Gast

    How can I detect regular expressions in an Outlook-Mail subjectline and automatically...


    I'm trying to check the subject line to a match with my regex. If it hits I would like to automaticly hyperlink the matches, so my browser opens a website after clicking a link.

    Another problem is that you can't use HTML code in a subject line, so I can manipulate the html code of the mail body but I can't use "mailItem.subject.HTMLBody" to manipulate the subject line.

    I found some solutions for web-add-ins but I'm using VSTO-Add-In.

    I thought maybe it exists a kind of overlay or something like that. Or for example like Word is underlining wrong written words, so you can deal with that word by right click.

    I hope someone can help me.

    sincerely Florian
     
  2. Diane Poremsky MVP Win User

    How can I detect regular expressions in an Outlook-Mail subjectline and automatically hyperlinking it?

    Hi Florian,

    The subjectl ine is plain text, it does not support HTML. But using mailItem.subject with regex should definitely work as long as you use a valid pattern.

    Do you have a code sample you are trying to use that doesn't work?

    I have some samples in this article -
    https://www.slipstick.com/developer/code-sample...
    - changing If Reg1.Test(olMail.Body) Then to If Reg1.Test(olMail.Subject) Then will work - you don't need the 2 IF lines that follow.

    >>

    Another problem is that you can't use HTML code in a subject line, so I can manipulate the html code of the mail body but I can't use "mailItem.subject.HTMLBody" to manipulate the subject line.

    >>

    What are you trying to accomplish?
  3. FlorianB98 Win User

    How can I detect regular expressions in an Outlook-Mail subjectline and automatically hyperlinking it?

    Hi Diane,

    Thanks for your answer.

    I think my main issue has not really become clear.

    My problem isn't the checking for a match.

    I'm trying to hyperlink (or something similar) a word in the subject line.

    Because the subject line can't HTML I can not put the word in an A-tag, logically.

    But how can I do that?

    Sincerely Florian
  4. Claus Busch Win User

    Mustervergleich um Zahlen vom Text abzusetzen

    Hallo Frank,

    benutzt du hier Regular Expressions? Wenn ja, hast du den Verweis auf Microsoft Regular Expressions gesetzt?

    Kannst du mal beschreiben, was du genau machen willst und deinen Code hier komplett posten?

    Mit freundlichen Grüßen

    Claus
  5. nurdandizdar Win User

    ich will zurück zu meinen alten hotmail

    I hate the outlook format that is implemented on my hotmail account , how can I have it back to how it was before
  6. Colin Schäfer Win User

    Wie kann ich in Visio 2013 Professional Shapes in einem funktionsübergreifenden Flussdiagramm automatisch nummerieren lassen?

    Lösung von Fei Xue (Original in diesem Thread:
    http://social.msdn.microsoft.com/Forums/office/en-US/ff941cb2-9e27-46f4-9b27-6dfc4c7366c6/visio-2013-how-do-i-get-automatically-numbered-shapes-in-a-crossfunctional-flowchart?forum=officegeneral)


    --- schnipp ---

    Hi,

    According to your description, you want to automatically numbered shapes.

    I suggest you select the shapes you wanted numbered and using the code below to numbered the shapes:

    Sub autoNumShape()

    Dim index As Integer

    index = 1

    For i = 1 To Application.ActiveWindow.Selection.Count

    If TypeOf Application.ActiveWindow.Selection.Item(i) Is Shape Then

    Application.ActiveWindow.Selection.Item(i).Text = "PS-" & index & Application.ActiveWindow.Selection.Item(i).Text

    index = index + 1

    End If

    Next i

    End Sub
    Screen Shot:

    [​IMG]

    You can get more detail about Visio Object Model from link below:

    Visio Object Model Reference

    Best regards

    Fei

    --- schnapp ---
  7. User Advert


    Hi,

    willkommen im Windows Forum!
Thema:

How can I detect regular expressions in an Outlook-Mail subjectline and automatically... - Outlook.com

Die Seite wird geladen...

How can I detect regular expressions in an Outlook-Mail subjectline and automatically... - Similar Threads - How can detect

Forum Datum

Outlook 365: How can I move task with drag and drop (Wie kann ich Aufgaben via Drag and...

Outlook 365: How can I move task with drag and drop (Wie kann ich Aufgaben via Drag and...: Einen schönen guten Tag! Die technische Hotline von Microsoft Office hat mich an dieses Expertenforum verwiesen, da sie wohl nur für Funktionale Probleme zuständig sind und nicht für...
Microsoft Office 15. April 2019

Download-Erinnerungen von Microsoft stoppen; how can I deactivate download-reminders from...

Download-Erinnerungen von Microsoft stoppen; how can I deactivate download-reminders from...: I have a hotmail.com mailbox and generated a mailbox download I downloaded it - everything fine. But now I permanently get reminders („your download is ready“). I downloaded twice, but still get...
Outlook.com 6. Februar 2019

How can I make my document changes invisible to others?

How can I make my document changes invisible to others?: Ich habe ein Word 2010-Dokument mit sehr vielen Korrekturen geschrieben. Nach der Fertigstellung sehe ich alle meine Änderungen in roter Schrift, sobald ich das Dokument öffne. Zwar kann ich unter...
Microsoft Office 31. Juli 2018

How can i delete my Account?

How can i delete my Account?: How can i delete my Office 365 Account?
Microsoft Office 26. Januar 2018

How can i delete my Account?

How can i delete my Account?: How can i delete my Office 365 Account?
Microsoft Office 25. Januar 2018

How can I print a table and split it into two parts?

How can I print a table and split it into two parts?: Hi all, I have a table with a few rows and a lot of columns and I want to print it on one page. I this I saw the feature before to split the table into a few parts (among one another) but I...
Microsoft Office 24. April 2017

How can I verify my account?

How can I verify my account?: Since last week I can not send anymore e-mails thru outlook 2010 where I have configured my outlook.com accounts as pop3. I would like to verify my account because I have seen in some chats that...
Outlook.com 17. Oktober 2016
How can I detect regular expressions in an Outlook-Mail subjectline and automatically... solved
  1. Diese Seite verwendet Cookies, um Inhalte zu personalisieren, diese deiner Erfahrung anzupassen und dich nach der Registrierung angemeldet zu halten.
    Wenn du dich weiterhin auf dieser Seite aufhältst, akzeptierst du unseren Einsatz von Cookies.