Wednesday, 31 May 2023

Extract wildcard string (* asterisk only) from a set of strings/texts?

Is there an algorithm or code/lib (NodeJS preferably), to extract wildcard string from a set of strings or texts.

For example, following are the set of strings (forgive my english):

apple pie is not too so good
apple pie is not so good
apple pie is too good

I shall be able to extract a wildcard string with asterisk * only, like this:

apple pie is * good

There are other special characters in wildcard, but I want to use only * asterisk.

Please let me know if more information required.



from Extract wildcard string (* asterisk only) from a set of strings/texts?

No comments:

Post a Comment