নিম্নলিখিত কোডটি ওয়াইল্ডকার্ডের জন্য Python regex ব্যবহার করে।
উদাহরণ
import re
rex = re.compile('th.s')
l = "this, thus, just, then"
print rex.findall(l) আউটপুট
এটি আউটপুট দেয়
['this', 'thus']
নিম্নলিখিত কোডটি ওয়াইল্ডকার্ডের জন্য Python regex ব্যবহার করে।
import re
rex = re.compile('th.s')
l = "this, thus, just, then"
print rex.findall(l) এটি আউটপুট দেয়
['this', 'thus']