Home Forums General XMetaL Discussion Search/Replace with Regular Expression using Derek’s code Reply To: Search/Replace with Regular Expression using Derek’s code

Derek Read

Reply to: Search/Replace with Regular Expression using Derek’s code

Looks like it is based on something I suggested during a discussion with someone else as a possible workaround for finding and replacing entities. We both decided it wasn't a good idea to use in that instance and came up with a better solution for that problem. http://forums.xmetal.com/index.php/topic,3275.0.html

Not sure what that regular expression is supposed to be doing. It isn't mine.
The rest of that code works for me, provided I put in a regex I understand and run it against a document that has some content the regex will match.

I'd concentrate on the regular expression as being the problem part of your code. Presumably it is just not matching what you want it to match.

Reply

Products
Downloads
Support