Author: truongthang | Posted on: 11/26/2009 2:04:53 AM | Views : 240

I am trying to match a sub string in a long string that content hexa format.Below is an example:

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;}{\f1\fnil\fcharset0 Microsoft Sans Serif;}}
{\*\generator Msftedit 5.41.21.2509;}\viewkind4\uc1\pard\li567\sa120\f0\fs22 Determine the root cause of the problem in case the request regarding corrective\par
\f1\fs20{\pict\wmetafile8\picwgoal7515\pichgoal4425
010009000003289508000000b162030000001610000026060f002220574d464301000000000001
00f56900000000530000000020000040360a0040560a00010000006c0000000000000000000000
}
0080840000fa00000080e8000075300000ea6000003a98000017709cba513c0000ff8e49444154
785e8cbd05585b6bb735fac6dd438420c1dddddd2584047777b752b414a8bbbbbbbbbb77d7dddd
a8b7b4144adbdc19d8df3efb3fe7fcf7de7cf3c9b71a52360d6b8d35de31c71c2fc6d953f4fefd
}
My regular expression is (\b\{\\pict\\wmetafile8\b[a-zA-Z0-9\s\S.]*\})
But the ...

Go to the complete details ...