Jerry,
You may have to be more specific regarding what you are looking for. The following will find a pattern of a number, followed by the letter V, followed by a number, anywhere in a string:
[pre]
data have;
informat string $20.;
input string &;
cards;
Test 1V4
Test 1V9
Test 1V3
Test 222
Test 22V
Test 3V5
;
data want;
set have;
if _n_ = 1 THEN pattern_loc = PRXPARSE("/\d\V\d/");
*Exact match for number, followed by the letter V, followed by
a number anywhere in the string;
retain pattern_loc;
position=prxmatch(pattern_loc,string);
run;
[/pre]
Of course, if what you really want deviates from that, in any way, a different prxparse call would have to be written. You can find a nice introductory article on pattern matching at:
http://www.nesug.org/proceedings/nesug03/bt/bt002.pdf
HTH,
Art