Neophyte2k16
Honorary Poster
- Joined
- Dec 31, 2016
- Posts
- 254
- Reaction
- 104
- Points
- 165
This is the paragraph:
The Cat jumps over the lazy Dog. My aunt saw the Cat jumps over the lazy Dog, and my aunt told her son the Cat jumps over the lazy Dog when my counsin was frighten to see the Cat jumps over the lazy Dog! for the second time.
I want to capture the all the sentence "Cat jumps over the lazy Dog" which is repeated 4 times.
My code:
Cat([^>]+)Dog([.,! ])
Yang code kasi ma kacapture kasi lahat eh like sa screenshot see attachment
Dapat pag search nya dapat ganito output:
Cat jumps over the Dog
Cat jumps over the Dog
Cat jumps over the Dog
Cat jumps over the Dog
The Cat jumps over the lazy Dog. My aunt saw the Cat jumps over the lazy Dog, and my aunt told her son the Cat jumps over the lazy Dog when my counsin was frighten to see the Cat jumps over the lazy Dog! for the second time.
I want to capture the all the sentence "Cat jumps over the lazy Dog" which is repeated 4 times.
My code:
Cat([^>]+)Dog([.,! ])
Yang code kasi ma kacapture kasi lahat eh like sa screenshot see attachment
Dapat pag search nya dapat ganito output:
Cat jumps over the Dog
Cat jumps over the Dog
Cat jumps over the Dog
Cat jumps over the Dog
Attachments
-
You do not have permission to view the full content of this post. Log in or register now.