Thank you everyone for trying to help. The closest thing to what I wanted was / .*? G{10,} /x. I somehow solved the problem based on the suggestions. If I repost the question in more detail, I am sure I would get exact solution, but that would take a lot of writing. Answers and questions were educational and helpful for me.
In reply to Re: help with regex
by rnaeye
in thread help with regex
by rnaeye
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |