schoginitoys
commited on
Commit
•
5c3013f
1
Parent(s):
aa9fe47
Sree
Browse files
app.py
CHANGED
@@ -279,7 +279,7 @@ def greet(name):
|
|
279 |
# Regular expression pattern to find a 7-digit number
|
280 |
pattern = r'\b\d{7}\b'
|
281 |
# Search for the pattern in the text
|
282 |
-
match = re.search(pattern,
|
283 |
if match:
|
284 |
# If a match is found, print it
|
285 |
orderId=match.group()
|
|
|
279 |
# Regular expression pattern to find a 7-digit number
|
280 |
pattern = r'\b\d{7}\b'
|
281 |
# Search for the pattern in the text
|
282 |
+
match = re.search(pattern, name)
|
283 |
if match:
|
284 |
# If a match is found, print it
|
285 |
orderId=match.group()
|