Regular Expressions 101

Library entries

0
javascript

test

test
Submitted by anonymous - 7 days ago

Strip ANSI CSI

Vote

0

Regular Expression
javascript

/
((?:\\033|\e|\\x1B|\\x1b){1}(?:\[(?:=|\?|[0-9]*)[0-9]*[a-gA-GnmsuJKhlHL]{0,1}(?:(?:\;[0-9]*)*m){0,1}))
/
g

Description

Loading markdown...
Submitted by Leonards Elksnis - 2 months ago