Syntax:
string.match(/RegExp/ or "String")
See the example below.
<script type='text/javascript'>
var h='Who do you LOVE more?'
document.write(h.match(/o/gi))
</script>
In this Script the the match() method returns the an array of "o" letter.
The list of favorite articles does not exist yet...
View all articles