Regexp

okibi okibi at ratedo.com
Thu Jul 12 04:48:44 PDT 2007


I've got another question regarding regexp:

If my document is full of variables such as "##var1 " and I want to replace them, with say "<var>var1</var>" how would I go about doing that? The variables now are preceded with two pound signs and ended with a single space.

Also, could you please explain how the regexp function that you give me works? I'm trying to understand these, but think I'm not grasping the concept.

Thanks!


More information about the Digitalmars-d-learn mailing list