a quick regex question

Discussion in 'Perl Misc' started by PamelaFoxcroft@gmail.com, Dec 1, 2006.

  1. Guest

    Hi, I want to find all occurences of a string where it looks like this

    testword12345

    So I have a word (actually 10 words) and I want to find all occurenece
    of a any of these 10 words followed by 5 numbers.

    Can anyone help me with this?

    TIA

    Pamela
    , Dec 1, 2006
    #1
    1. Advertising

  2. John Bokma Guest

    wrote:

    > Hi, I want to find all occurences of a string where it looks like this
    >
    > testword12345


    Now that would have been a better subject line, wouldn't it?

    > So I have a word (actually 10 words) and I want to find all occurenece
    > of a any of these 10 words followed by 5 numbers.
    >
    > Can anyone help me with this?


    Sure, post your code, and some example data, and tell us which part
    doesn't work.

    --
    John Experienced Perl programmer: http://castleamber.com/

    Perl help, tutorials, and examples: http://johnbokma.com/perl/
    John Bokma, Dec 1, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JKop
    Replies:
    11
    Views:
    879
  2. Matt Price

    quick regex question

    Matt Price, Oct 28, 2004, in forum: Python
    Replies:
    0
    Views:
    635
    Matt Price
    Oct 28, 2004
  3. Steven Bethard

    Re: quick regex question

    Steven Bethard, Oct 28, 2004, in forum: Python
    Replies:
    5
    Views:
    610
    Peter Otten
    Oct 29, 2004
  4. Robert Brewer

    RE: quick regex question

    Robert Brewer, Oct 28, 2004, in forum: Python
    Replies:
    0
    Views:
    635
    Robert Brewer
    Oct 28, 2004
  5. Replies:
    3
    Views:
    760
    Reedick, Andrew
    Jul 1, 2008
Loading...

Share This Page