+ 2
I Want to Add a " Maching Searched Result Count " On This Code.
https://code.sololearn.com/Wiw9DQK1C5hm/?ref=app I Want to add a javascript, for Searching Result : How many search Results Maching ??? If i Add a word like a " ABC " in search bar it's show me : Searched Result is : 1
9 Respostas
+ 6
AYESHA NOOR
Here is your solution
https://code.sololearn.com/WGspVic2Z40K/?ref=app
+ 3
AYESHA NOOR
If you want number of words then you will have to enter full name otherwise you will not get. See here
https://code.sololearn.com/WLC7pUYTFMFw/?ref=app
+ 1
I don't need Console-log, i want a result option top on the screen.
+ 1
But i need a words counting option... not a list.
Thanks for advising..... 😊
+ 1
Ayesha,
Did you make your search work?
Here is the one way to solve it:
https://code.sololearn.com/WZJdIJZGj3Gw
0
It only tells the list number, not the total number of words. I need to know the total number of words.
0
Ayesha Noor, did you try to use JavaScript RegExp Object?
https://www.w3schools.com/jsref/jsref_obj_regexp.asp
var patt= /abc/ig
//'i' = case-insensitive, 'g'= global match (finds all matches)
and then use of .length method of the result will give you the count of items found in one line.
it worked after little modification of w3school's 1st example.
0
*¥₩£€££$**♤○◇~》₩¥€?*&$#€?
0
Ayesha,
Here is another try for find and replace -version.
https://code.sololearn.com/WTyV3PxolGDI