You are on page 1of 1

Regular Expres​ sions Syntax JavaScript Event Handlers JavaScript Dates

^ Start of string onabort onmous​edown Date() setMonth()

$ End of string onblur onmous​emove getDate() setFul​lYear()

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

(a|b) a or b onclick onmous​eover getMonth setMin​utes()

m
(...) Group section ondblclick onmouseup getFul​lYear setSec​onds()

[abc] In range (a, b or c) ondragdrop onmove getYear setMil​lis​eco​nds()

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

\s White space onfocus onresize getMinutes setUTC​Date()

a? Zero or one of a onkeydown onselect getSeconds setUTC​Day()

.co
a* Zero or more of a onkeypress onsubmit getMil​lis​econds setUTC​Month()

a*? Zero or more, ungreedy onkeyup onunload getTime setUTC​Ful​lYear()

a+ One or more of a onload getTim​ezo​neO​ffset() setUTC​Hours()

a+? One or more, ungreedy getUTC​Date() setUTC​Min​utes()

a{3} Exactly 3 of a JavaScript Arrays getUTC​Day() setUTC​Sec​onds()

a{3,} 3 or more of a concat() slice() getUTC​Month() setUTC​Mil​lis​eco​nds()

a{,6} Up to 6 of a join() sort() getUTC​Ful​lYear() toSource()

a{3,6} 3 to 6 of a length splice() getUTC​Hours() toString()

a{3,6}? 3 to 6 of a, ungreedy pop() toSource() getUTC​Min​utes() toGMTS​tring()

[:punct:]

[:space:]

[:blank:]
Escape character

Any punctu​ation 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  


getUTC​Sec​onds()

getUTC​Mil​lis​eco​nds()

parse()

setDate()

JavaScript Strings
toUTCS​tring()

toLoca​leS​tring()

UTC()

valueOf()
ar
at: http:/​/re​gex​pal.com/ abs() min()

acos() NEGATI​VE_​INF​INITY charAt() slice()


Pattern Modifiers charCo​deAt() split() x
asin() PI
g Global match atan() POSITI​VE_​INF​INITY concat() substr()
i * Case-i​nse​nsitive atan2() pow() fromCh​arC​ode() substr​ing()
m * Multiple lines ceil() random() indexOf() toLowe​rCase()
er

s * Treat string as single line cos() round() lastIn​dexOf() toUppe​rCase()


x * Allow comments and whitespace in E sin() length toLoca​leL​owe​rCase()
pattern
exp() sqrt() locale​Com​pare() toLoca​leU​ppe​rCase()
e * Evaluate replac​ement
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 toExpo​nen​tial() regular expres​sions.
compile() lastParen
LOG2E toFixed()
exec() leftCO​ntext JavaScript Functions
max() toPrec​ision()
global multiline decode​URI() isNaN()
MAX_VALUE toString()
ignoreCase rightC​ontext decode​URI​Com​pon​ent() Number()
MIN_VALUE valueOf()
Ca

input source encode​URI() parseF​loat()


NaN
lastIndex test() encode​URI​Com​pon​ent() parseInt()
lastMatch JavaScript Booleans escape() String()

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

toString() isFinite()

You might also like