I think you will get much better help if you are more specific and include a actual example of what you want want to parse -- since you have admitted your regexp doesn't work, it is hard to deduce what you are trying to do.
Eg, [VMFWLCA]{,8} is invalid (there must something before the comma), but presuming you mean "at least once, and a maximum of 8 times" (which would be {1,8}) then $1 could be any of these:
VVVVV
FMFMWWWL
C
Is that what you are trying to match?
In reply to Re: need help with a regex
by halfcountplus
in thread need help with a regex
by aquinom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |