such as a piece of code:
Software map, software Test 1 try Hello a Test 4 test b</a>
Match: (Test \d test)
So the match I want is
Test 1 Test
Test 3 Test
Instead of matching "Test 2" and "Test 4" included in HTML tags
<script> var s= ' software map, software Test 1 try Hello ASDASD Test 3 Test a 4 test B '//<[^>]+>? [^<]*>//< (\s|\s) +?> var ary= (S.replace (/<) \s|\s, ' +?>/igm '). Split (' |$| ') for (var i in ary) alert (Ary[i]) </script>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
<script> var s = ' software map, software 1 try Hello ASDASD Test 3 test a Test 4 B ' Alert (/< ([^)] +[^>]*> (?: [\s\s]*?<\/\1& gt;)?/gi, "") </script>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]
<script> var s = ' software map, software 1 try Hello ASDASD Test 3 test a Test 4 B ' Alert (/< ([^)] +[^>]*> (?: [\s\s]*?<\/\1& gt;/gi, ""). Match (/test \d/g)) </script>
[Ctrl + A All SELECT Note: If the need to introduce external JS need to refresh to perform]