Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Regex help

by Anonymous Monk
on Oct 01, 2002 at 23:40 UTC ( #202151=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <script>
    malicious_code_to_do_something_nasty
    </script>
    
  2. or download this
    $text = "my name is john q user\n";
    $text =~ s/^my name is (.*?) .*$/$1/;
    # removes "my name is ", saves the next word, essentially, into $1, re
    +moves the rest
    print "hello, $text!\n";
    # prints "hello, john!\n"
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://202151]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2014-07-14 02:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (254 votes), past polls