Horje
grel general expression character classes Code Example
grel general expression character classes
* metacharacters
* character escapes \
* anchors \A\Z or ^$
* character classes [][^]
* quantifiers *?+{min,max}
* grouping ()
* substitutions $1 or \1
grel general expression character classes
\p{L} - letter
\p{P} - punctuation
\p{InBasicLatin} - in basic Latin Unicode block
\p{InArabic} - in Arabic Unicode block
grel general expression character classes
. any character (almost*) 
\ escape character
| or
\A or ^ anchor: start of string
\Z or $ anchor: end of string
[] list or range to be matched
[^] negative list or range (NOT these characters)
grel general expression character classes
\d any digit
\D any non-digit
\w any word character [a-zA-Z0-9_]
\W any non-word char. [^a-zA-Z0-9_]
\s any whitespace char.
\S any non-whitespace char.
\t tab
\n newline
\r carriage return




Javascript

Related
blank array condition in react js Code Example blank array condition in react js Code Example
regular expression in elastic Code Example regular expression in elastic Code Example
seperate array by comma in vue Code Example seperate array by comma in vue Code Example
copy Konva Transform object Code Example copy Konva Transform object Code Example
utc to est javascript Code Example utc to est javascript Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7