A typical line of the info.txt file is
I want the hash %users to have their username as the key, and the rest as-is with the delimiters. Without all the extra spaces after the username of courseusername Real Name|email@gmail.com|2|30|
Can someone help me with this simple regex?
In reply to regex to split a line by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |