Showing 1 Result(s)
regular expression

JavaScript Regular expression for beginner

Today I explore with Javascript regular expression. It is interesting. I have added below what I learned so far. You have to put regular expression syntax is of two slashes. Like this /hello/. if you include i after that it will escape case sensitivity. for example /hello/i. Here is some function that works on regular expression: exec() : Return result …