Le 24 juil. 2012 à 13:42, Melissa a écrit : > 1 Replaced '1:2:333:4' with '1:2:333:4' > 12 Replaced '1:2:444:10' with '1:2:444:7' > 105 Replaced '1:2' with '1:3' > 200 Replaced '1:2:7' with '1:2:70:9' > .... > ^\d+ Replaced '(.+)' with '\01'$ > > ...but it doesn't. Can someone point me in the right direction please?
Hello. You have 2 spaces after Replaced in your text and only one in your regexp. And replace \01 by \1. ^\d+ Replaced '(.+)' with '\1'$ is working for me. .*'(.*)'.*'\1' is more generic. -- You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at <http://groups.google.com/group/bbedit?hl=en> If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
