What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-10 18:20:02
regex expression for password validation form validation
r'^ (?=.*[A-Z]) // should contain at least one upper case (?=.*[a-z]) // should contain at least one lower case (?=.*?[0-9]) // should contain at least one digit (?=.*?[!@#\$&*~]) // should contain at least one Special charact... Add solution -
Javascript 2022-01-30 21:31:17
how to make a string in javascript
var abc = "abcdefghijklmnopqrstuvwxyz"; var esc = 'I don\'t \n know'; // \n new line var len = abc.length; // string length abc.indexOf("lmno"); // find substring, -1 if doesn't contain abc.lastIndexOf("lmn... Add solution -
Java 2022-01-22 20:25:55
write a program to check whether the character is in lowercase or uppercase in java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Alphabet_Check { public static void main(String args[]) throws IOException{ char m; BufferedReader bf = new BufferedReader(new I... Add solution -
Python 2021-11-19 15:29:34
how to execute key combinations with keyboard python lib
from pynput.keyboard import Key, Controller keyboard = Controller() # Press and release space keyboard.press(Key.space) keyboard.release(Key.space) # Type a lower case A; this will work even if no key on the # physical keyboard is labelled 'A' keyboard... Add solution -
VBA 2021-11-17 13:35:12
excel vba convert and entire range to uppercase
'To convert the entire worksheet range A1:C99 to UPPER case, use the 'following VBA: [a1:c99] = [index(upper(a1:c99),)] 'Or use this Sub: Sub ToUpper(r As Range) r = Evaluate("index(upper(" & r.Address & "),)") End Sub ... Add solution