in reply to Re: pattern matching
in thread pattern matching

Thank u. This worked.

Thanks to this idea too -> (th|rd|st|nd)