Vote count:
0
I am trying to use the regular expression to target the time and add text to it. But my regular expression have problem when i have break. If i remove the break and test the expression it is working.
2)after i have scanned the matching expression how do i add text infront and behind of the targeted text ? TQ
var str = "00:00:01.120
In this lesson, we will learn how to determine the equation of a line, using the available information.
00:00:08.040
Let's look at the first example. Determine the equation of the line, that passes through the points (2, 5), and with the slope of 2.
00:00:19.000
To begin, we should know that the equation of a line can be written in the form of y = mx + b, where m is the slope, and b is the y-intercept.";
var patt1 = /(\d\d.\d\d.\d\d.\d\d\d)/gm;
var result = str.match(patt1);
asked 33 secs ago
Aucun commentaire:
Enregistrer un commentaire