I want to capture the index of a particular regular expression in a Java String. That String may be enclosed with single quote or double quotes (sometimes no quotes). How can I capture that index using Java?
eg:
capture String --> class = ('|"|)word('|"|)
No.
Check source code for verification
WorkAround :
Its not standard practice but you can get result using this.
Update:
OR