[buug] regex question
johnd
john at jjdev.com
Wed Apr 30 13:58:26 PDT 2003
On Wed, Apr 30, 2003 at 01:52:52PM -0700, Aaron T Porter wrote:
> On Wed, Apr 30, 2003 at 01:40:52PM -0700, johnd wrote:
> > I need a regex to substitue on that gives me
> > the part after the = and before the &
>
> Something like:
>
> ($id) = $_ =~ m"UserID=(.*)&";
I don't follow.
How would you use this?
For example in vim, if I want to substitute all UserIDs to xyz
something I can put in a substitue command
%s/the_regex/xyz/g
More information about the buug
mailing list