I'm a little confused...
What is meant by the "=20"? Is that something that's happening with your posts or does your regex actually include "=20"?
Perhaps the problem you are having is with the grouping characters. Tell you what... Post an example of the source text you are searching in, and highlight what you want to retrieve in red. Maybe that will make it easier for use to see what you are trying to achieve.
But I'm pretty sure you need to apply an
Atomic Zero-Width Assertion to specify that "Priority" should appear at the beginning of the line. Try this regex (remember that you'll need to create your regex with the MultiLine option):
^Priority:.*
For the part where you need to remove the = and carriage returns, can't you just use a simple search and replace? First search for "=" & Environment.Newline and replace that with String.Empty, then search for just Environment.Newline and replace that with String.Empty. That should work for you.
Peter
----------------------------------------
Work smarter, not harder.