Hi Michael, replaceFilter replaces all matched expressions. The problem here is probably your regex.
Cheers, Marc. -- Web: http://www.efficient-webtesting.com Blog: http://mguillem.wordpress.com Michael Zwick wrote: > Hi, > > > > I’ve got a question about <replaceFilter/>: I noticed, that if I define > a filter like the example below it will do just one replacement per line > in the HTML document to be filtered. I’d like to filter all matches in > the line. I.e. I’d like to do something like m/matchstring/g (with ‘g’ > for global match). > > > > For example, this > > <replaceFilter regex="(foo)\w+(bar\.[gif|css|jpg])" > replacement="$1[REMOVED]$2"/> > > will do just one replacement in each HTML line. > > > > Thanks a lot for any hints, > > Michael > > > _______________________________________________ WebTest mailing list WebTest@lists.canoo.com http://lists.canoo.com/mailman/listinfo/webtest