[PerlChina] wanna a regex expression

杨晓亮 yang.liana at gmail.com
Tue Aug 22 23:07:08 PDT 2006


     Hi, all!
     suppose a src string like this: how are you today ? "are you ok?" you are welcome!
     I want this string to be       : how are hello today? "are you ok?" hello are welcome!
    
     I want to use just a regex express to do it. but i cant prevent from "are you ok?" being changed to be "are hello ok?".
     I want to use the *Look ahead* or *Look behind* to solve it. can I ?

Yang.liana
Aug/23/2006
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/china-pm/attachments/20060823/1d879ddd/attachment.html 


More information about the China-pm mailing list