Phaser API Documentation

  Version: 
splitRegExp: object

Description:

The Regular Expression that is used to split the text up into lines, in multi-line text. By default this is /(?:\r\n|\r|\n)/. You can change this RegExp to be anything else that you may need.

Type:
object
Since: 3.0.0