Posts by Aline Matos • 103 points
1 post
-
0
votes2
answers129
viewsA: Logic to check month with Regex
If you need to filter the month of a date formatted as "DD/MM/YYYY", you can use: var teste = /(?=.*\b\/(\d{2})\b)/.test("06/05/1980"); console.log(teste); // true…