You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f0e180d
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/configuration/fields/validate.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -108,8 +108,8 @@ attached to the field by specifying `warning` or `error` in the return array.
108
108
|`no_special_chars`|Alpha Numeric, excluding special characters|
109
109
|`not_empty`|If the value is empty|
110
110
|`numeric`|Value is numeric|
111
-
|`preg_replace`|Perform a replacement on the contents based on a regex pattern. See [preg_replace Example](validate.md#preg_replace-example)|
112
-
|`str_replace`|Return a string after running through a `str_replace`. See [str_replace Example](validate.md#str_replace-example)|
111
+
|`preg_replace`|Perform a replacement on the contents based on a regex pattern. You can test your regex patterns on a website like [phprex](https://phphub.net/regex/). See [preg_replace Example](validate.md#preg-replace-example)|
112
+
|`str_replace`|Return a string after running through a `str_replace`. See [str_replace Example](validate.md#str-replace-example)|
113
113
|`unique_slug`|To generate a unique slug - optional `'flush_permalinks' => true` argument can be added to force a flush permalinks on successful save|
0 commit comments