Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RegEx - can't catch pattern
#3
No, that works correctly. It is the next line that fails (i changed the code slightly)
Quote:
Code:
Copy      Help
stuff.replacerx(";{8}(\r\n[0-3][0-9]\.[0-1][0-9]\.[1-2][0-9];)" "$1@OUTRO@$2")

What causes the issue is the leading ";" in the string. But that ";" has to be there because in the file the pattern always starts with 8 semikolons: ";;;;;;;;".


Messages In This Thread
RegEx - can't catch pattern - by BoolTaxCoder - 02-04-2023, 03:15 PM
RE: RegEx - can't catch pattern - by Gintaras - 02-04-2023, 03:33 PM
RE: RegEx - can't catch pattern - by BoolTaxCoder - 02-05-2023, 10:53 AM
RE: RegEx - can't catch pattern - by Gintaras - 02-05-2023, 12:23 PM

Forum Jump:


Users browsing this thread: 5 Guest(s)