Title |
Test
Find
Pattern Title
|
Expression |
(\{\\f\d*)\\([^;]+;) |
Description |
This pattern returns the font section from an RTF document. The first parenthetical subexpression captures the font number, the second returns the actual font enumeration. Lame-o, but fun! :-) |
Matches |
{\f0\Some Font names here; | {\f1\fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Arial; | {\f |
Non-Matches |
{f0fs20 some text} |
Author |
Rating:
Not yet rated.
Joel Dooris
|
Source |
|
Your Rating |
|
Title: Nice, but I need more
Name: John Davis
Date: 1/24/2005 5:51:51 PM
Comment:
I want to strip all the rtf off of data coming back from SQL Server field. Got any ideas how to do this. Just want the verbage, not the formatting. It seems like it is all saved as text.