So i'm trying to figure out how regex works and already run into a roadblock.
I figured out the easier ones, if a string only consists of numbers or letters.
But these required a little more thought it seems.
These are three random linen that i need to check up.
I B Tauris & Co Ltd
The Decline and Fall of the Roman Empire: v. 1-3
and a date that should be formated such as year/month/day
How would i be able to write these.
I somehow think i need "may include" but not sure how to translate that to matches/regex.
The first and second line may contain letters, spaces, special characters and/or numbers.
And as i stated, the date should be formated as year/month/day.
Is this possible to do? or am i trying to hard with matches and regex and should maybe take some easier road that i havnt seen?
Well hopefully someone can help out, this community has been a great help for me so far