Hi,
app.findGrepPreferences.findWhat = "http.+?(?=\\s)|www.+?(?=\\s)";
There is no wildcard's multiplier in "Text" tab. If you type "^?^?^?" ID will match exactly 3 "any character", no less, no more and next 3 starting from last match, and so on.
Use Grep.
Jarek