I need a java regex expression which can allow a string containing Alpha Numeric, space, hyphen, aphostophy, &
, ()
, "
, min 1 characters and max 100 Characters.
I tried with ^[a-zA-Z -`&(),\"]{1,100}$
. But it is returning true in conditions where string contains *
or |
etc.