havock.code (@code_julito) header
havock.code (@code_julito) profile picture

Document.getElementById('build'); Techs: HTML, CSS , JavaScript, and MySQL

Joined February 2023
Photo by havock.code (@code_julito)Photo by havock.code (@code_julito)Photo by havock.code (@code_julito)Photo by havock.code (@code_julito)Photo by havock.code (@code_julito)Photo by havock.code (@code_julito)Photo by havock.code (@code_julito)Photo by havock.code (@code_julito)Photo by havock.code (@code_julito)Photo by havock.code (@code_julito)
Built a simple Employee Management System in MySQL 馃殌It stores staff details, tracks job types (Full-time, Part-time, Contractor), assigns positions & salaries, and generates reports like counts, averages, and salary categories. A clean way to manage workforce data! #MySQL #SQL
7
Which Laptop Do you use? 馃捇 #Laptop
375
12
8
729
60,282
Been using my Dell Inspiron 3481 for 5 years and it still works fine
12
Regex 27/33 1) .matchAll() - The .matchAll() method in #javascript is used to find all matches of a regex in a given string. It returns an iterator of all matches, which includes matched text and any capturing groups.
1
42
4) This method is especially helpful when you need to find multiple occurrences of a pattern in a string.
1
30
5) Sample code @CodeSnapDev
1
33
havock.code retweeted
Javascript promise methods.
42
157
1
1,206
151,855
Regex 26/33 Capture groups allow you to capture parts of a pattern match and can be used to find repeated substrings in the regular expression. To repeat a match with capture groups, use backreference and quantifier to match the same pattern multiple times. #javascript #coding
31
Regex 25/33 Searching patterns with regex is useful, but it's better when it can replace text too. To search and replace text in a string, use .replace(). The code below shows a quick example to illustrate its functionality. #javascript
34
Regex 24/33 In #javascript, regular expressions are used to match patterns in strings. Parentheses "( )" are used in #regex to create groups of characters or subpatterns that can be used for various purposes, such as capturing, repeating or applying a quantifier. #CodingJourney
38
Regex 23/33 In regular expression, the question mark "?" means the preceding element can appear either zero or one time, indicating that it is optional .
1
42
The "u?" part means the letter "u" is optional. The test method for text1 and text2 both returns true.
36
Regex 22/33 You can specify an exact number of matches. To indicate a specific number of patterns, simply place that number within the curly brackets without placing a comma and a maximum number. @CodeSnapDev #codinglife
1
1
125
Regex 21/33 To specify a minimum number of patterns with no upper limit, use a comma after the lower number in curly brackets. let regex = /r{5,}/; let regex = /Extr{5,}a/;
54
Regex 20/33 You can define the range of patterns using quantity specifiers enclosed in curly brackets '/{ }/'. Simply place two numbers inside the brackets to specify the minimum and maximum number of patterns.
43
Regex 19/33 [1-3] (Uppercase) '\S' in JavaScript matches any character except whitespace characters (e.g. spaces, tabs, newlines ('\n'), carriage returns ('\r'), form feeds ('\f'), vertical tabs ('\v').
1
39
[2-3] It includes visible characters like alphanumeric characters, punctuation marks, symbols, and non-whitespace control characters.
1
40
[3-3] This makes '\S' useful for matching any part of a string that contains visible content rather than spaces, tabs or newlines.
35
Regex 18/33 '\s' is a special sequence that matches any whitespace character. Whitespace characters include spaces, tabs, and newline characters.
36