Do you know the list of names? Or are you trying to identify what
might be a name on the page (say two words in a row with initial
caps)?

On Feb 23, 12:35 pm, sspboyd <[EMAIL PROTECTED]> wrote:
> Hi Dave,
> I want to find specific names (I have a list of 320 names in an xml
> file). I want to scan through a page and create a link around the
> first instance for one of the names in the list.
>
> eg "Stephen Boyd's favourite person in the work is Fred Von Brown.
> Stephen Boyd calls Fred Von Brown every day."
>
> would become
>
> "<a href="biolinkStephen">Stephen Boyd's</a> favourite person in the
> work is <a href="biolinkFred">Fred Von Brown</a>. Stephen Boyd calls
> Fred Von Brown every day."
>
> One of the gotcha's I've considered is that some people's names may
> have apostrophes on them, eg "Stephen Boyd's". I'm sure there are many
> more gotcha's as well but at this point I am trying to get a sense of
> the feasibility of this idea.
>
> On Feb 23, 1:48 pm, Dave Stewart <[EMAIL PROTECTED]>
> wrote:
>
> > Well regexp would be useful if there was a pattern to people's names,
> > but there isn't.
> > Do you want to find any names, or a list, or a specific name?

Reply via email to