Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

(wil) Re: read between two strings

by wil (Priest)
on May 16, 2002 at 15:07 UTC ( [id://167023]=note: print w/replies, xml ) Need Help??


in reply to read between two strings

I'm not the best when it comes to regex's, but I would use something like this:
my $s = qq|%%Atom Coords -1.13 12.16 6.15 %%End Frame|; $s =~ s/^%%Atom Coords\s*(.*)\s*%%End Frame$/$1/; print $s;
May I also suggest (and I will suggest this to myself, too ;-)) that you pick up a good book on this subject.

- wil

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-04-24 08:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found