« first day (1596 days earlier)      last day (1982 days later) » 

Sam
Sam
11:50
@JackDaniels what are you trying to accomplish, a product name from a long string
?
@Sam I'm trying to replace the string with null, because it's of no use to me and is getting picked up by my other patterns
Sam
Sam
replacing a string with null... you mean test_string = None?
not with null exactly (my bad), replacing with any string that's not in any of the rest of patterns
Sam
Sam
what is the expected value?
Carrolton II random string Kit Rich Content Setup:Display Rich Content with Marketing Copy and Bullets;Large room 12 ft. x 12 ft

This is the output I'm looking for
11:56
@JackDaniels re.search returns None with that pattern and that string
Sam
Sam
@JackDaniels it also doesnt work in a regextester
@Aran-Fey if only we had an MCVE to argue about
@JackDaniels that's not an MCVE
@Sam I have attached the output
Sam
Sam
11:59
i see. however i tried it on regextester.com and it didnt work
maybe they format it different
But, whatever. I'm not the one trying to ask for help here.
@AndrasDeak I understand
I don't think you do
Sam
Sam
lmao i mostly come here because 90% of my questions are stupid and know theyll get downvoted
@JackDaniels Please don't post images of text here. Or on the main site.
12:01
Ok
Thanks
We still need to see how your re.sub is failing
because it's working for me
we're nearing two screenfuls of this discussion that could've been fixed in two messages given an MCVE I asked for early, so I'm probably going to trash this wall of noise soon
25 messages moved from Python

« first day (1596 days earlier)      last day (1982 days later) »