Ok. Figured out a better regex. I'm not very good at this yet.

200[0-9]{5}

pulls the exact result that I need. Much simpler.

So.. If I was to do this via sed..

sed s/200[0-9]{5}/http://myurl/${name1}/p file2.out

My guess anyway. I'll keep posting here as I figure this out.

David

On Aug 23, 4:12 pm, "David S." <[email protected]> wrote:
> I'm guessing that we would need to parse the html of the report; using
> regex match for (\b200)\w+\b, then subst the 200????? with the
> reformulated URL and then inject it into the output.
>
> Just a thought.
>
> I'd need to parse each line for a match of regex
>
> On Aug 23, 5:56 am, "David S." <[email protected]> wrote:
>
> > The idea is to add working links to a report automatically.
>
> > What would the code be?
>
> > David
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to