Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. BGH2104

    regexp & regsub

    Hello again, My Friend has told me to do like this. And it works as I need. Sample: set str "activate%NAME%batch%5050%CANCEL%TYPE=TRUE;" puts $str if {[regexp "(.*)%(.*)%(.*)%(.*)%(.*)%(.*)" $str all a b c d e f ]} { puts "$e:$f" } OUTPUT...
  2. BGH2104

    regexp & regsub

    Thank you. But, how about if the "%GH%%TYPE=TRUE;" is change to another words. By example: activate%NAME%batch%5051%CANCEL%RIGHT=TRUE; or activate%NAME%batch%5051%PLEASE%RIGHT=TRUE; How do I wite on my programme?
  3. BGH2104

    regexp & regsub

    Hello, I have a question on regexp & regsub.Actually, I have read the tutorial on internet about regexp & regsub.But I still can't understand how to apply this code. I just want to take only sub string from the string.Example: Input: activate%NAME%batch%5050%GH%TYPE=TRUE; Output...

Part and Inventory Search

Back
Top