D
Deleted50669
Guest
@MJ DeMarco Idk if you want an automation to keep people from soliciting numbers, but this regex would test for phone-numbers (agnostic to formating) and allow you to disallow postings where this regex returns true for their string:Hello thecocopod, saw your post and i would like to mention here that if you are looking for this solution to be developed as your business and want this to be a future ready product capable of accepting any upgrades in future, i would advice you to get a solution custom developed either in native or Cross platform technology.
That will help you to have a consolidated product.
We can assist you with a Quality driven solution at very competitive rates.
Let me know of your thoughts.
Regards,
Preeti
+917726998823
let PhoneNumber = "415-555-1212";
function isNumber(p) {
var phoneRegEx = /^[2-9]\d{2}[2-9]\d{2}\d{4}$/;
var digits = p.replace(/\D/g, "");
return phoneRegEx.test(digits);
}
Last edited by a moderator: