SHARE
TWEET

regex Advance

darksoor Jun 6th, 2020 911 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for k,v in getDialogLines()
  2. {
  3.     if (RegExMatch(v, "Сегодняшняя дата\:\s+\{66CC00\}(\d{1,2}\s.*\s\d{4})\sг\.", out_date))
  4.         server_date := out_date1
  5.     if (RegExMatch(v, "\{FFFFFF\}День недели\:\s+\{66CC00\}(.*)", out_day))
  6.         server_day := out_day1
  7. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top