I have one string that is color terminal text (bash), now I'd like to display it as plain text via removing the color, is there any way or library to do that? Here's one example color text:
[1m[34mpeopleSchema[0m: [1m[32morg.apache.spark.sql.types.StructType[0m = StructType(StructField(id,IntegerType,true), StructField(name,StringType,true))
[1m[34mdf[0m: [1m[32morg.apache.spark.sql.DataFrame[0m = [id: int, name: string]
[1m[34mres1[0m: [1m[32morg.apache.spark.sql.DataFrame[0m = []