in reply to Regexp Problem with greedy
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!
|
|---|