string patname ="enter pat name";
patname = "text";
patname = " text pat";
Hi, I want to search "pat" in the above statement using regular expression of visual studio. I tried using Pat{([^a-zA-Z]|$)}
this , but it will also search the 2nd line which i really don't want. I want pat to be search inside a string value which starts from " follwoed by any char and then "pat". I mean pat can come anywhere ,i.e. either in start,middle or end.
does somebody hav idea how to do tht?