Remove the tags and replace them with newline characters ('\n')
package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var example:String = "This is<br>a sentence<br>on 3 lines"; trace( example.split( "<br>" ).join( '\n' ) ); } } }