Title: BuddyPress XProfile Validate with RegEx
Author: Tomasz Ostrowski
Published: <strong>21.3.2014</strong>
Last modified: 21.4.2015

---

Hae lisäosia

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/buddypress-xprofile-validate-with-regex.
svg)

# BuddyPress XProfile Validate with RegEx

 [Tomasz Ostrowski](https://profiles.wordpress.org/tometzky/)

[Lataa](https://downloads.wordpress.org/plugin/buddypress-xprofile-validate-with-regex.zip)

 * [Tiedot](https://fi.wordpress.org/plugins/buddypress-xprofile-validate-with-regex/#description)
 * [Arvostelut](https://fi.wordpress.org/plugins/buddypress-xprofile-validate-with-regex/#reviews)
 * [Kehitys](https://fi.wordpress.org/plugins/buddypress-xprofile-validate-with-regex/#developers)

 [Tuki](https://wordpress.org/support/plugin/buddypress-xprofile-validate-with-regex/)

## Kuvaus

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.

## Arvostelut

![](https://secure.gravatar.com/avatar/a76fcbd149c7d35d7655e6ccedfb5ac760f13a3933f1af622ea83299e2a0905b?
s=60&d=retro&r=g)

### 󠀁[Excellent!](https://wordpress.org/support/topic/excellent-4661/)󠁿

 [hoogey](https://profiles.wordpress.org/hoogey/) 22.3.2017

This worked like a charm! Perfect!

 [ Lue kaikki 4 arvostelua. ](https://wordpress.org/support/plugin/buddypress-xprofile-validate-with-regex/reviews/)

## Avustajat & Kehittäjät

“BuddyPress XProfile Validate with RegEx” perustuu avoimeen lähdekoodiin. Seuraavat
henkilöt ovat osallistuneet tämän lisäosan kehittämiseen.

Avustajat

 *   [ Tomasz Ostrowski ](https://profiles.wordpress.org/tometzky/)

[Käännä “BuddyPress XProfile Validate with RegEx” omalle kielellesi.](https://translate.wordpress.org/projects/wp-plugins/buddypress-xprofile-validate-with-regex)

### Oletko kiinnostunut kehitystyöstä?

[Browse the code](https://plugins.trac.wordpress.org/browser/buddypress-xprofile-validate-with-regex/),
check out the [SVN repository](https://plugins.svn.wordpress.org/buddypress-xprofile-validate-with-regex/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/buddypress-xprofile-validate-with-regex/)
by [RSS](https://plugins.trac.wordpress.org/log/buddypress-xprofile-validate-with-regex/?limit=100&mode=stop_on_copy&format=rss).

## Muutosloki

#### TODO

 * Checking for a valid regular expression while saving field configuration.
 * Support validating standard Name field
 * Support validating field data while editing profile – currently data is validated
   only during registering.

#### 0.1.2

 * Fixed a bug: configuration wasn’t saved during creating a new xprofile
    field–
   only during editing an existing field

#### 0.1.1

 * Added plugin site
 * Change license to GPLv2 or later – interaction of AGPLv3 with other
    licenses
   is too confusing

#### 0.1.0

 * Initial release

## Metatiedot

 *  Version **0.1.2**
 *  Last updated **11 vuotta sitten**
 *  Active installations **10+**
 *  WordPress version ** 3.8 or higher **
 *  Tested up to **4.2.39**
 *  Language
 * [English (US)](https://wordpress.org/plugins/buddypress-xprofile-validate-with-regex/)
 * Tags
 * [anti-spam](https://fi.wordpress.org/plugins/tags/anti-spam/)[buddypress](https://fi.wordpress.org/plugins/tags/buddypress/)
   [profile](https://fi.wordpress.org/plugins/tags/profile/)
 *  [Edistynyt näkymä](https://fi.wordpress.org/plugins/buddypress-xprofile-validate-with-regex/advanced/)

## Arvosanat

 4.5 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/buddypress-xprofile-validate-with-regex/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/buddypress-xprofile-validate-with-regex/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/buddypress-xprofile-validate-with-regex/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/buddypress-xprofile-validate-with-regex/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/buddypress-xprofile-validate-with-regex/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/buddypress-xprofile-validate-with-regex/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/buddypress-xprofile-validate-with-regex/reviews/)

## Avustajat

 *   [ Tomasz Ostrowski ](https://profiles.wordpress.org/tometzky/)

## Tuki

Onko sinulla jotain sanottavaa? Tarvitsetko apua?

 [Tukifoorumi](https://wordpress.org/support/plugin/buddypress-xprofile-validate-with-regex/)