regex pattern to convert plural to singular code example Example: regex patteren t find plural word of word passes ([a-zA-Z]+?)(s\b|\b)