Вы находитесь на странице: 1из 1

Regular Expres sions Syntax JavaScript Event Handlers JavaScript Dates

^ Start of string onabort onmousedown Date() setMonth()

$ End of string onblur onmousemove getDate() setFullYear()

. Any single character onchange onmouseout getDay() setHours()

(a|b) a or b onclick onmouseover getMonth setMinutes()

m
(...) Group section ondblclick onmouseup getFullYear setSeconds()

[abc] In range (a, b or c) ondragdrop onmove getYear setMilliseconds()

[^abc] Not in range onerror onreset getHours setTime()

\s White space onfocus onresize getMinutes setUTCDate()

a? Zero or one of a onkeydown onselect getSeconds setUTCDay()

.co
a* Zero or more of a onkeypress onsubmit getMilliseconds setUTCMonth()

a*? Zero or more, ungreedy onkeyup onunload getTime setUTCFullYear()

a+ One or more of a onload getTimezoneOffset() setUTCHours()

a+? One or more, ungreedy getUTCDate() setUTCMinutes()

a{3} Exactly 3 of a JavaScript Arrays getUTCDay() setUTCSeconds()

a{3,} 3 or more of a concat() slice() getUTCMonth() setUTCMilliseconds()

a{,6} Up to 6 of a join() sort() getUTCFullYear() toSource()

a{3,6} 3 to 6 of a length splice() getUTCHours() toString()

a{3,6}? 3 to 6 of a, ungreedy pop() toSource() getUTCMinutes() toGMTString()

[:punct:]

[:space:]

[:blank:]
Escape character

Any punctuation symbol

Any space character

Space or tab
push()

reverse()

shift()

There's an excellent regular expression tester


m toString()

unshift()

valueOf()

JavaScript Numbers and Maths


getUTCSeconds()

getUTCMilliseconds()

parse()

setDate()

JavaScript Strings
toUTCString()

toLocaleString()

UTC()

valueOf()
ar
at:http://regexpal.com/ abs() min()

acos() NEGATIVE_INFINITY charAt() slice()


Pattern Modifiers charCodeAt() split() x
asin() PI
g Global match atan() POSITIVE_INFINITY concat() substr()
i* Case-insensitive atan2() pow() fromCharCode() substring()
m* Multiple lines ceil() random() indexOf() toLowerCase()
er

s* Treat string as single line cos() round() lastIndexOf() toUpperCase()


x* Allow comments and whitespace in E sin() length toLocaleLowerCase()
pattern
exp() sqrt() localeCompare() toLocaleUpperCase()
e* Evaluate replacement
floor() SQRT1_2 match() x toSource()
U* Ungreedy pattern
LN10 SQRT2 replace() x valueOf()
* PCRE modifier search() x
LN2 tan()
re

log() toSource() String object methods with an x support


JavaScript RegExp Object
LOG10E toExponential() regular expressions.
compile() lastParen
LOG2E toFixed()
exec() leftCOntext JavaScript Functions
max() toPrecision()
global multiline decodeURI() isNaN()
MAX_VALUE toString()
ignoreCase rightContext decodeURIComponent() Number()
MIN_VALUE valueOf()
Ca

input source encodeURI() parseFloat()


NaN
lastIndex test() encodeURIComponent() parseInt()
lastMatch JavaScript Booleans escape() String()

toSource() valueOf() eval() unescape()

toString() isFinite()

Вам также может понравиться