toString Summary Returns a string representation of the regular expression value. Usage public override string toString() Returns A string representation of the regular expression value. Description Returns a string representation of the regular expression value. Examples Basic Usage 1234import System; System.RegExp re = /.+/gmi;Console.log(re.toString()); Share HTML | BBCode | Direct Link