Matching Ending Items

  • + 0 comments

    why did + did not work? why must it be *? The rules are not clear?

    ^(?i:[a-z])+s$

    Write a RegEx to match a test string, , under the following conditions:

    should consist of only lowercase and uppercase letters (no numbers or symbols). should end in s.

    ===========================