Re: Find and IfTrue
- --- In email@example.com, "Mr. Phillip Sand Hansel II"
> I can find it with this...You will need to take things one step at a time:
> ^!Find RPCS\.OHMM.*2-MHZ R
> if that is found, I would like to do this...
> ^!Replace RPCS.OHMM RPCSHM.OHMM SIH
> I thought I could do this....
> ^!fTrue ^!Find RPCS\.OHMM.*2-MHZ R ^!Replace RPCS.OHMM RPCSHM.OHMM SIH
^!Find "whatever" RS
;if you get here whatever must be highlighted - your IfTrue condition
^!Replace "whateverhighlighted" >> "proper replacement" SIH
;what next? Advance to next line?
;next find the next match?
;end of processing
^!Prompt There are no more "whatevers"
^!Prompt I guess this should never happen.
;end of clip
Hope that helps.