JavaScript regular expression question.

Asked 1 weeks ago, Updated 1 weeks ago, 1 views

[Chull] [2:06 a.m.] Message body

I want to draw a person's name, time, and message from the same string as above, but I'm struggling because I've never dealt with regular expressions properly ㅠ<

Can I get help with a regular expression code snippet using JavaScript?

Also, when you say that you process such a string as a regular expression, sometimes a regular string instead of that format comes in, and in this case, I want to return the false value.

javascript regex

2022-09-20 10:59

1 Answers

It's a basic example, so it's embarrassing to answer.

Try it yourself. If it doesn't work out, use cheat mine.


2022-09-20 10:59

If you have any answers or tips


© 2022 pinfo. All rights reserved.