Jan-10-2019, 02:10 PM
Try something simpler: (?<=MACHINE: )\s*[\w\d]*
With your examples, that regex works. It will drop the line breaks too.
With your examples, that regex works. It will drop the line breaks too.
Help with regular expresions-SOLVED
|
|
Messages In This Thread |
Help with regular expresions-SOLVED - by dragan979 - Jan-10-2019, 12:01 PM
RE: Help with regular expresions - by buran - Jan-10-2019, 12:13 PM
RE: Help with regular expresions - by stullis - Jan-10-2019, 02:10 PM
RE: Help with regular expresions - by dragan979 - Jan-10-2019, 03:06 PM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Convert ActiveDirectory timestamp into regular one. Arrow (solved) | SpongeB0B | 2 | 1,967 |
Nov-02-2020, 08:34 AM Last Post: bowlofred |
|
Using .format() with expresions. | Covert | 2 | 1,799 |
Dec-30-2019, 02:11 AM Last Post: Larz60+ |