Having syntax trouble, I'm new to using regex. I'm coding in java.
I need to check if an apostrophe is used more than once in a string. Multiple apostrophes can either be consecutive or spread out over the string.
For …
I have a string that has two single quotes in it, the ' character. In between the single quotes is the data I want.
How can I write a regex to extract "the data i want" from the following text?
…