Paul,

see below,

> 
>   <replaceFilter regex='(<span
> class="MstTxt">)[^>]*PST(</span>)'
>                  replacement="$1[DATE REMOVED]$2"/>


I tried this and it doe not allow < or > in
expression. Also my time does not always ends with
PST, it could be other time zone.

Is there a way to filter out everything between
"MstTmeDiv" and /div??

do you have pointer for how to use regular expression?
I could not find it in webtest manual.

thanks,

Chang


> 
> An example of usage is in the verifyContent manual
> page.
> 
> Paul.
> 
> Chang Su wrote:
> > Hi, 
> > 
> > can someone provide me an example on how to use
> > contentStripper and tagStripper? I could not find
> it
> > in webtest manual pages. It says in verifyContent
> > manual, but it is not there.
> > 
> > what I am trying to do is to filter following part
> > from BUI page before the comparison because it
> > contains dynamic date and time which causes
> > verifyContents fails.
> > 
> > ...
> > <div class="MstTmeDiv"><span class="MstTxt">Last
> > Update:</span>&nbsp;<span class="MstTxt">Feb 16,
> 2007
> > 3:28:42 PM PST</span>&nbsp;</div>...
> > 
> > how to use contentStripper or any filter in this
> case?
> > 
> > thanks,
> > 
> > Chang
> > 
> > 
> > 
> > 
> >  
> >
>
____________________________________________________________________________________
> > Bored stiff? Loosen up... 
> > Download and play hundreds of games for free on
> Yahoo! Games.
> > http://games.yahoo.com/games/front
> > _______________________________________________
> > WebTest mailing list
> > [email protected]
> > http://lists.canoo.com/mailman/listinfo/webtest
> > 
> > 
> 
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
> 



 
____________________________________________________________________________________
Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to