in reply to Regexp Confuzzelemt
You want #(.*?)\? (the '?' makes the .* non-greedy).
#([^?]*) also works, of course. But it also matches "TTT" in "aaaaaaaa#TTT" (note that there is no question mark).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Regexp Confuzzelemt
by ikegami (Patriarch) on Apr 28, 2007 at 02:37 UTC |