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:
substituite help

 



pgeo
New User

Dec 25, 2010, 7:09 AM

Post #1 of 3 (252 views)
substituite help Can't Post

how to subsituite text between a and second b with nothing in:

c_a,b,c_a,b_z

thanks


shawnhcorey
Enthusiast


Dec 25, 2010, 9:13 AM

Post #2 of 3 (245 views)
Re: [pgeo] substituite help [In reply to] Can't Post

/(?<=a)[^b]*b[^b]*(?=b)/

See `perldoc perlre`.

__END__

I love Perl; it's the only language where you can bless your thingy.

Perl documentation is available at perldoc.perl.org. The list of standard modules and pragmatics is available in perlmodlib.

Get Markup Help. Please note the markup tag of "code".


pgeo
New User

Dec 25, 2010, 10:05 AM

Post #3 of 3 (240 views)
Re: [shawnhcorey] substituite help [In reply to] Can't Post

shawnhcorey thanks.

 
 


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

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