Imagine I'm trying to find a substring formatted as "X.X.X", in which the Xs can be any integer or character, in a string. I know that in Python I can use string.find("whatever") to find some substring within a string, but in this case, I'm looking to find anything that is in that format.
For example:
Say I have the string "Hello, my name is John and my Hotel room is 1.5.3, Paul's room is 1.5.4"
How do I go about finding "1.5.3" and "1.5.4" in this case?
regex. Search for it, and I'm sure you will be able to do it easily.