+ 2
How to count the no. Of occurrence of a particular pattern of String in the sentence?
Use any language to get the count of pattern search
4 Respuestas
+ 5
Of course, that's mainly what RegEx are all about. Just try the link above, paste your text in one window and check your pattern in another.
+ 4
Regular expressions or RegEx are specifically thought of dealing with such tasks. If you want to try out a proper syntax, I can recommend:
http://www.regex101.com
to prototype the adequate RegEx query in your language of choice.
0
I wanted to try this on normal sentence with all punctutation...is it possible? @Kuba Siekierzynski