Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

regex ranges

/* character ranges */
regex = /[a-z]/; // matches all lowercase letters
regex = /[A-Z]/; // matches all uppercase letters
regex = /[e-l]/; // matches lowercase letters e to l (inclusive)
regex = /[F-P]/; // matches all uppercase letters F to P (inclusive)
regex = /[0-9]/; // matches all digits
regex = /[5-9]/; // matches any digit from 5 to 9 (inclusive)
regex = / [a-d1-7]/; // matches a letter between a and d and figures from 1 to 7, but not d1
regex = /[a-zA-Z]/; // matches all lowercase and uppercase letters
regex = /[^a-zA-Z]/; // matches non-letters
Comment

PREVIOUS NEXT
Code Example
Javascript :: Exceeded timeout of 5000 ms for a test. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." 
Javascript :: angular 8 to 9 
Javascript :: node js split data 
Javascript :: js decrement for loop 
Javascript :: useffect compare previous value to current 
Javascript :: slice string javascript from index to space 
Javascript :: last index array javascript 
Javascript :: display current date and time in react js 
Javascript :: javascript empty cache and hard reload 
Javascript :: remove text javascript 
Javascript :: react typewriter 
Javascript :: javascript remove text from string 
Javascript :: selecionar valselect2 js 
Javascript :: shadow on view in react natice 
Javascript :: javascript in line logic 
Javascript :: style font size javascript 
Javascript :: iffi in js 
Javascript :: javascript console output 
Javascript :: regular expression to find a string between two characters 
Javascript :: js remove query param from url 
Javascript :: js change button text 
Javascript :: ffmpeg convert mp4 to avi 
Javascript :: create an array of size n in javascript 
Javascript :: two decimal places in javascript 
Javascript :: jq object to dom object convert 
Javascript :: toggle classname onclick react 
Javascript :: React Unmounting Lifecycle Method 
Javascript :: string to in js 
Javascript :: detect dark mode javascript 
Javascript :: js get date in yyyy-mm-dd 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =