The problem with your regex (which may or may not be a real problem) is that the \w* limit what is included - a ( or | etc will cause an aberrant failure. It would be much more robust to use [^,]* as this includes everything except the comma separator....
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In reply to Re: Re: Need method to create Regular expression for known pattern in the middle of a line
by tachyon
in thread Need method to create Regular expression for known pattern in the middle of a line
by Ya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |