Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I parsed a string, how do I get a specific word from this string (by digit)?
@2FIDDY
@UserTrue Thank you very much, but how do I view the entire list? There are 2000 lines
@2FIDDY log
@GaG thanks a lot working like a charm! thanks a lot
@andreiem said in Regex new line:
@GaG said in Regex new line: .replace(/href="\//g, "href=\"\/\r\n") That worked Do you also know how can I use regex to remove everything after = Thank you!
@GaG said in Regex new line:
.replace(/href="\//g, "href=\"\/\r\n")
That worked
Do you also know how can I use regex to remove everything after =
Thank you!
Users would help you more quickly if you attached examples of the general text and what it should look like in the end.
@huntenkill said in Parsing all lines from text file:
VAR_NPCLIST
VAR_NPCLIST is already list I guess. There is no split() function in javascript for array types. Split() works for string types.
As this is way too complicated with BAS and no one has an idea how to solve it I simply built my needed bot with Zennoposter and finished it in no time.