How sophisticated is the Actionscript text manipulation?

I want to search and replace specific text in a HTML file (about 10k - so quite a lot of text).

I was thinking of trying to get Flash to do this for me.

Good idea or bad idea!?

I wasn’t sure how good Actionscripts text manipulation was!

The only reason why I was think of doing this in Flash was because I don’t know VB.

I would otherwise do it in Perl if Actionscript is no good.

Any feedback would be appreciated.

Thanks.

OM