Title: BuddyPress XProfile Validate with RegEx
Author: Tomasz Ostrowski
Published: <strong>21 Tháng 3, 2014</strong>
Last modified: 21 Tháng 4, 2015

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

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

# BuddyPress XProfile Validate with RegEx

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

[Tải về](https://downloads.wordpress.org/plugin/buddypress-xprofile-validate-with-regex.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/buddypress-xprofile-validate-with-regex/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/buddypress-xprofile-validate-with-regex/#reviews)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/buddypress-xprofile-validate-with-regex/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/buddypress-xprofile-validate-with-regex/)

## Mô tả

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.

## Đánh giá

![](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 Tháng 3, 2017

This worked like a charm! Perfect!

 [ Đọc tất cả 4 đánh giá ](https://wordpress.org/support/plugin/buddypress-xprofile-validate-with-regex/reviews/)

## Người đóng góp & Lập trình viên

“BuddyPress XProfile Validate with RegEx” là mã nguồn mở. Những người sau đã đóng
góp vào plugin này.

Những người đóng góp

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

[Dịch “BuddyPress XProfile Validate with RegEx” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/buddypress-xprofile-validate-with-regex)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/buddypress-xprofile-validate-with-regex/),
check out [SVN repository](https://plugins.svn.wordpress.org/buddypress-xprofile-validate-with-regex/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/buddypress-xprofile-validate-with-regex/)
qua [RSS](https://plugins.trac.wordpress.org/log/buddypress-xprofile-validate-with-regex/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 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

## Meta

 *  Phiên bản **0.1.2**
 *  Cập nhật lần cuối **12 năm trước**
 *  Số lượt cài đặt **10+**
 *  Phiên bản WordPress ** 3.8 hoặc cao hơn **
 *  Đã kiểm tra lên đến **4.2.39**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/buddypress-xprofile-validate-with-regex/)
 * Thẻ
 * [anti-spam](https://vi.wordpress.org/plugins/tags/anti-spam/)[buddypress](https://vi.wordpress.org/plugins/tags/buddypress/)
   [profile](https://vi.wordpress.org/plugins/tags/profile/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/buddypress-xprofile-validate-with-regex/advanced/)

## Đánh giá

 4.5 trên 5 sao.

 *  [  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)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/buddypress-xprofile-validate-with-regex/reviews/)

## Những người đóng góp

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

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/buddypress-xprofile-validate-with-regex/)