What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-01-30 12:46:23
regex
Let regex; /* shorthand character classes */ regex = /d/; // matches any digit, short for [0-9] regex = /D/; // matches non-digits, short for [^0-9] regex = /S/; // matches non-white space character regex = /s/; // matches any white space character regex ... Add solution -
Javascript 2022-01-22 04:46:10
regex /
Let regex; /* shorthand character classes */ regex = /d/; // matches any digit, short for [0-9] regex = /D/; // matches non-digits, short for [^0-9] regex = /S/; // matches non-white space character regex = /s/; // matches any white space character regex ... Add solution -
Python 2021-11-07 09:29:20
regular expression cheatsheet
Regular Expression FUll Cheatsheet (For quick look) :) note: for downloading visit https://buggyprogrammer.com/regular-expression-cheatsheet/ ------x-------------------x----------------x------------x----------------x------------- # -------------- Anchors... Add solution -
Javascript 2021-11-05 23:07:11
regular expression |
Let regex; /* shorthand character classes */ regex = /d/; // matches any digit, short for [0-9] regex = /D/; // matches non-digits, short for [^0-9] regex = /S/; // matches non-white space character regex = /s/; // matches any white space character regex ... Add solution -
Python 2021-10-23 16:21:18
raw string python
#A raw string considers backslash as literal instead of an escape character print(r"C\Users\MyName\Desktop") #Without the r in front you will have to escape the \ with another \ print("C\\Users\\MyName\\Desktop") #Both will print the s... Add solution -
Javascript 2021-10-20 23:00:08
javascript string single or double quotes
/* You can use either. Double quotes are the only allowed character for strings in JSON, and HTML conventions suggest using it. However, single quotes are far more popular in JS and CSS. Most JS learning programs use the single quote, but... Add solution -
C# 2021-10-04 19:45:02
c# write variable in string
// Method 1 Interpolation //Interpolation Strings are strings that are interpertated at run time for your local vars //This string must still use escape chars such as \\ and '{' char must be typed twice to show up. int Num = 1; String InterpolationString ... Add solution