1.

You Want To Search For Sale And Sales. What Regular Expression Should You Use?

Answer»

Use the asterick (*) to match to zero or more CHARACTERS. The ‘$‘ matches to any one CHARACTER so SALE$ would not find sale.

Use the asterick (*) to match to zero or more characters. The ‘$‘ matches to any one character so sale$ would not find sale.



Discussion

No Comment Found