Help for this page

Select Code to Download


  1. or download this
    P:\test>517393-3 -N=1 got
    ...I've <<got>> a
    ...
    
    ...like to do is capture the word and X number <<of>> words before and
    + after it
    while tagging the matching word...
    
  2. or download this
    #! perl -slw
    use strict;
    ...
    Is there a way to do this with a single regex? Is a regex even the bes
    +t
    way to do this? Thanks, -Lee