RegEx
Add one Glossary page
Tags
acronym
address
anchor
backlinks
browser
button
category
cloud
cms
color
control
css
database
data_forms
div
education
excel
expression
feed
gadget
hidden
history
html
if
iftags
index
infobox
internet
ip
link
linux
meta
meta-tags
modules
options
page
pagename
pm
private
public
regular
rgb
rss
search-engine
set_tags
soft_category
span
tag
template
underscore
unix
url
user
vba
view
watching
widget
wiki
wikidot
workflow
W e l c o m e ! » Getting Started » Glossary
RegEx | RGB»» |
Regular expression
Regular expressions, also referred to as regex or regexp, provide a concise and flexible means for matching strings of text, such as particular characters, words, or patterns of characters.
Source: http://en.wikipedia.org/wiki/Regex
They are used by the wikidot parser, in general, but you can use them in data forms or in mailform module for entry validation.
Examples:
- /^(19[5-9][0-9]|20[01][0-9])$/ will match any year from 1950 to 2019
- /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/ will match any valid email address
See also: