BuddyPress XProfile Validate with RegEx Plugin WordPress, Download, Install
November 14, 2016
BuddyPress – Validate XProfile data with PCRE regular expressions.
BuddyPress XProfile Validate with RegEx Download Now
(If the link does not work)↓
Originals Link WordPress.org
https://wordpress.org/plugins/buddypress-xprofile-validate-with-regex/
How to Install BuddyPress XProfile Validate with RegEx Plugin, Manually
With this plugin you can define a PCRE regular expression against which data entered
in XProfile fields will be matched.
For example:
- check webpage field for a correct(-ish) URL or domain name:
%^(https?://)?([^ :/]{1,63}.)+[^ :/.]{2,63}%iu
- check age field for a sane(-ish) value (0-199):
/^1?[0-9]?[0-9]$/
- check phone field for a sane(-ish) value:
/^+?[0-9 -]{7,45}$/
- check any field for a minimum and maksimum length:
/^.{10,100}$/u
You can also configure a message to show when a field data does not validate.
Video
Plugin Not Working?
If any errors or problems with the plug-in then write comments.