Eugene Shmorgun
Eugene Shmorgun

Reputation: 2065

What does this regular expression mean: /[\[\.]/

What does this regular expression mean?

var re = /[\[\.]/;

Thanks for replies.

Upvotes: 0

Views: 105

Answers (2)

Ehsan
Ehsan

Reputation: 9

You shuold first read by your own.Google it and also Check this one. [https://developer.mozilla.org/en-US/docs/JavaScript/Guide/Regular_Expressions]

Upvotes: 0

Birei
Birei

Reputation: 36262

Javascript? It means to match any of two characters, [ or .

Upvotes: 6

Related Questions