Skip to content
Advertisement

Mark end of the row when using match() javascript

How to mark end of the row when using match() function? From this page I need to pull out “2021 JANUARY 18 MONDAY”

webpage look

sourcecode

When somethng exists after desired string I’ve used this code:

JavaScript

but now I can’t

Advertisement

Answer

Here’s how that date format can be matched in a string:

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement