/[\W_]/g There have something I don't know how it works

(“0_0 (: /-\ :slight_smile: 0–0”) to return true
So,which means “(: /-\ :)–” has to be matched.
In " /[\W
]/g ", don’t understand how “_” can’t make it balance, it should be not works

Check out these two sites - first is good info and the second a Regex testbox



1 Like

It is really good resources.
Thank you so much!!

1 Like