I'm searching the variable text_string for these 5 patterns. The regular expression I'm asking about will go inside prxparse. _prxid will be used in prxnext. I want to create the variable incident_level. _prxid = prxparse('regular expression'); _start = 1; _stop = length(text_string); call prxnext(_prxid, _start, _stop, trim(text_string), _pos, _len); do while (_pos > 0); incident_level = catx(' ',incident_level,substr(text_string, _pos, _len)); call prxnext(_prxid, _start, _stop, trim(text_string), _pos, _len); end;
... View more