fb_pixel
Description
A simple explanation Python regular expressions...
Attachments
Info
Description
Create a new file, for example. regex.py
Paste code:
import re

s = "Some_String_That_ineed_01[ifcontainsCell01removehere],xxxxxxxxx02"
replaced = re.sub('\[.*Cell01.*\]', '', s)

print(s)
print(replaced) 


Ok...?

on November 11th, 2020 (11:31 pm)
All coments
This job has not been commented yet.