SyntaxFix
Write A Post
Hire A Developer
Questions
To test a year in a string which contains other words along with the year you can use the following regex: \b\d{4}\b