How can you find the repeated word ?
Answers
Answered by
1
Explanation:
Press Ctrl+H to open the Find and Replace dialog box.
Click More, then select the Use wildcards option.
In the Find field, type: (<[A-Za-z]@)[ ,.;:]@\1> (Note: There's a space in there, so I suggest you copy this Find string.)
In the Replace field, type: \1.
Click Find Next then click Replace.
Answered by
1
- STEP 1: START.
- STEP 2: DEFINE String line, word = ""
- STEP 3: SET count =0, maxCount =0.
- STEP 4: DEFINE ArrayList<String> words.
- STEP 5: USE File Reader to open file in read mode.
- STEP 6: READ line from file.
- STEP 7: By looping, CONVERT each line into lower case.
- STEP 8: REMOVE the punctuation marks.
Similar questions