GSKT
GSKT

Reputation: 11

RegEx for Ext js textfield

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

Answers (1)

streetturtle
streetturtle

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

Related Questions