Now I wonder what will I chose next to learn in order to
- manipulating text
- manipulating text files
- write user definded functions (OK) and invoke them (???)
- write scripts and invoke them
I am building up a movie and tv data base sort of thing.
Harrison Ford Harrison Ford ... Joe Miller
Julian Sands Julian Sands ... David Smith
needs to turn into:
[[Harrison Ford]] - Joe Miller
[[Julian Sands]] - David Smith
(First segment contains TAB-STOPS as DELIMITERS; code display shuns COURIER NEW)
That is the course I just “finished” LOL
Had a first glance at the MDN page, and that’s certainly a valuable hint - but am I ready for that?
The documents I want to modify are plain text files. So far, I open them in a text editor (VSC, ST or Brackets) and do the manipulatin manually …
Actually I am looking for guidance on how to proceed on FCC.
Thanks a lot for your advice
Over the weekend I had occasion for a second glance I will now first do all the exercises on that page, then I’ll report back
It has been some time since I last visited this site, and I would like to report on the current state of affairs.
I found a regex video by Beau Carnes on YouTube
for which there is also an fCC course here.
I watched everything and followed along, so I had the idea to use a regex to handle the content of the selected (CTRL+C) clipboard. (Without opening and reading files). Then “with a little (a lot!) help from my friends” here I am with a RegEx one-liner (sic!) that does the whole transformation. (I’m not allowed to publish solutions here, am I?). I can now simply paste the transformed content whereever I want it
The one-liner is not mine, an expert created it from three (working!) expressions I provided.
So far for now
ps Please let me know if I am allowed to post the RegEx (My three and the one-liner)?