+ 3
How to extract values from a string using regex?
I have a file named log.txt. It's a chat log with a pattern of "[time] name: message" on each line. How can I extract time, name and message using regex?
3 Respostas
+ 6
Different programming languages have different syntax and interfaces to deal with regex. What language does your query pertain to?
+ 3
Hatsy Rei I'm using JavaScript.