I'm trying to remove some characters from a string using search and replace and Regex.
I find the Regex learning curve a bit overwhelming...
For instance:
HFT-COOL (Surf) - Codingweb
HFT-SURFER (Surf) - Codingweb
would deliver COOL and SURFER.
So the 1st four characters and all characters after the first space need to be removed (including the space itself). Any pointers? Thank you!
Lots of ways to skin this cat.
If you want to make sure you get the text after "HFT-", then this will work.
It also allows for multiple spaces or tabs after the key text.
==UPDATED==: 2020-01-04 14:10 GMT-6
Allow for searched text to be single or multiple lines
There are several good tutorial sites for RegEx, but I do like the interactive learning feature of this one. Doing is always the best method for learning.
I want to delete everything before ": Ins. 5 -" and also including this string of the front window. The string before the ": Ins." is variable and has never the same length.