As long as you are fairly sure your plane names will not contain < or > then you can simply replace:
(.*?) #with ([^<>]*?) #and (.+?) #with ([^<>]+?)
in your regexes to get the desired results.
HTH
P.S. Mastering Regular Expressions is a must-read!
In reply to Re: Regexp Problem with greedy
by pzbagel
in thread Regexp Problem with greedy
by Isanchez
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |