Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regex
#1
Hi,

how can I read the inputfile with Regex and store it into outputfile with python?

## inputfile ##
<Color>blue</Color>
<Code>1</Code>
<Color>red</Color>
<Code>2</Code>
## inputfile ##

## outputfile ##
Color:blue
Code:1
Color:red
Code:2
## outputfile ##
Reply


Messages In This Thread
Regex - by yuyu - Dec-13-2018, 08:57 PM
RE: Regex - by ichabod801 - Dec-13-2018, 09:10 PM
RE: Regex - by nilamo - Dec-13-2018, 10:56 PM
RE: Regex - by ichabod801 - Dec-14-2018, 03:25 AM
RE: Regex - by snippsat - Dec-14-2018, 02:43 PM
RE: Regex - by yuyu - Dec-15-2018, 11:11 PM
RE: Regex - by ichabod801 - Dec-16-2018, 12:03 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020