I tried to search this question first but didn't found what I need, here is it:
I have a string like: "substring1/substring2.substring3" (e.g. "library/History.read")
I need a regular expression to check:
- the substring1 must be "library"
- the substring2 must have a captial letter at the beginning
- the substring3 must be "read"
I'm not familiar with regular expression, the current I wrote is: 'library/([a-zA-Z])\\.(read)' but it is not correct. Please help me, thanks!