Quick actions

cmd+k|ctrl+k

Navigation

Languages

match1

Snippet info

Language

JavaScript

Visibility

public

Author

c0kureaxxx17

Created

2020-12-14T00:41:54Z

Updated

2020-12-14T00:45:57Z

const text = "gray,green,white,black";
const result = text.match(/white/);

console.log(result[0]);
INFO