CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner: Re: [SKS] pattern matching: Edit Log



Laurent_R
Veteran / Moderator

Jul 10, 2013, 11:18 PM


Views: 1994
Re: [SKS] pattern matching

Try something like this:


Code
my $match = $1 if $x =~ /\.(.+)\./;



(This post was edited by Laurent_R on Jul 10, 2013, 11:19 PM)


Edit Log:
Post edited by Laurent_R (Veteran) on Jul 10, 2013, 11:19 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives