Property:Regexp regexp

From OPENRESEARCH th copy Wiki
Jump to navigation Jump to search

Property

Property
edit
name  regexp
label  regexp
type  Special:Types/Text
index  2
sortPos  2
primary key  No
mandatory  Yes
namespace  
size  
uploadable  No
default  
inputType  
allowedValues  
documentation  a Javascript regular expression, which the user input has to match. It must include slashes, at the beginning and end. See Regular Expressions for an introduction to writing a regular expression pattern in JavaScript, and Regex Pal for an interactive testing tool. Note that for the regexp, you cannot use the pipe character because it gets lost in the field definition. See "or char", below.
values from  
showInGrid  Yes
isLink  No
allow nulls?  No
topic  
placeholder  
regex  

Freitext

Text

Showing 2 pages using this property.
R
/^([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)@(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,})$/  +
/^[0-9]+$!^$/  +