title: Check if string starts with zero or more parentheses and "A(" after it using startswith()
body: <p>I want to detect if a string starts with any of these "A(", "((A(", "(((A(", ... As you can see the number of starting parentheses could be zero or more. My problem is that startswith() in java does not get regex as input. So, how is it possible to do so? </p>