Although it isn't really what you are asking, have you considered using split instead of a regular expression? It looks to me as though you have a line with fields delimited by the pipe character ... often a good place to use split. You may still choose to apply a regular expression to a smaller part of the line, but you'll generally find less room for error when you have reached a more granular level.
In reply to Re: Regular Expresson How to Match
by ptum
in thread Regular Expresson How to Match
by qsl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |