Reputation: 11
I need regex which will allow dot and forward and backward slash. Where dot is mandatory. I am using Ext js 5.0.
Upvotes: 0
Views: 1392
Reputation: 5850
You should provide an example string and expected output, as well as patterns you've tried.
allow dot and forward and backward slash.where dot is mandatory.
var regex = new RegExp("\.\/?\\?");
Upvotes: 2